5 Commits

Author SHA1 Message Date
eb8eed47f6 Add openfortivpn 2024-06-06 14:41:34 +02:00
c13c553c01 Merge remote-tracking branch 'upstream/main' 2024-06-06 14:37:47 +02:00
8cf8878a95 Update openfortivpn-webview 2024-05-24 19:12:19 +02:00
eec2380fa7 Update pyright 2024-05-24 19:08:47 +02:00
c35e186763 Add openforti-webview + pyright 2024-05-24 19:00:24 +02:00
41 changed files with 4615 additions and 608 deletions

View File

@@ -24,8 +24,7 @@ get_source() {
printf '%s %s\n' "$sha" "$(get_file "$1")"
;;
*)
sha="$(sha512sum "$1" | cut -d' ' -f1)"
printf '%s %s\n' "$sha" "$1"
echo "$1"
;;
esac
}
@@ -34,11 +33,8 @@ if [ $# -ne 1 ]; then
echo "Usage: $(basename "$0") <APKBUILD>"
exit 1
fi
cd "$(dirname "$1")" || exit 1
# shellcheck disable=SC1091
. ./APKBUILD
# shellcheck disable=1090
. "$1"
: "${source:=}"
pkgsha="${_pkgsha:-}"
@@ -51,7 +47,7 @@ if [ -n "$pkgsha" ]; then
https://github.com/"$(echo "$url" | cut -d'/' -f4-5)" \
"$tmpdir"
date="$(cd "$tmpdir" && date +%Y%m%d -d"@$(git show -s --format=%ct "$pkgsha")")"
sed -i "s/^pkgver=.*\$/pkgver=0.0.0_git$date/" APKBUILD
sed -i "s/^pkgver=.*\$/pkgver=0.0.0_git$date/" "$1"
;;
*)
echo "unsupported host $url"
@@ -60,13 +56,10 @@ if [ -n "$pkgsha" ]; then
esac
fi
sed -i 's/^pkgrel=.*$/pkgrel=0/' APKBUILD
sed -ni '/sha512sums=/q;p' APKBUILD
echo 'sha512sums="' >>APKBUILD
sed -i 's/^pkgrel=.*$/pkgrel=0/' "$1"
sed -ni '/sha512sums=/q;p' "$1"
echo 'sha512sums="' >>"$1"
echo "$source" | while IFS= read -r src; do
src="$(echo "$src" | xargs)"
if [ -n "$src" ]; then
get_source "$src" >>APKBUILD
fi
get_source "$src" >>"$1"
done
echo '"' >>APKBUILD
echo '"' >>"$1"

33
aws-mfa/APKBUILD Normal file
View File

@@ -0,0 +1,33 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=jhandguy/aws-mfa
pkgname=aws-mfa
pkgver=1.0.15
pkgrel=0
pkgdesc="Authenticate to AWS with MFA"
url="https://github.com/jhandguy/aws-mfa"
arch="all"
license="MIT"
makedepends="cargo cargo-auditable"
options="net"
source="$pkgname-$pkgver.tar.gz::https://github.com/jhandguy/aws-mfa/archive/refs/tags/v$pkgver.tar.gz"
prepare() {
default_prepare
cargo fetch --target="$CTARGET" --locked
}
build() {
cargo auditable build --frozen --release
}
check() {
cargo test --frozen
}
package() {
install -Dm755 ./target/release/"$pkgname" "$pkgdir"/usr/bin/"$pkgname"
}
sha512sums="
d9918d1de8e023b9fcc488766714397a3b74132b9438dee8d407257fef1ccf3623fb80563d8776ad3b779660d32cbef960acb826785dc92cb21c8be91edfbdd5 aws-mfa-1.0.15.tar.gz
"

View File

@@ -1,33 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=Canop/bacon
pkgname=bacon
pkgver=3.14.0
pkgrel=0
pkgdesc="Background code checker"
url="https://github.com/Canop/bacon"
arch="all"
license="AGPL-3.0-only"
makedepends="cargo cargo-auditable"
options="net"
source="$pkgname-$pkgver.tar.gz::https://github.com/Canop/bacon/archive/refs/tags/v$pkgver.tar.gz"
prepare() {
default_prepare
cargo fetch --target="$CTARGET" --locked
}
build() {
cargo auditable build --frozen --release
}
check() {
cargo test --release
}
package() {
install -Dm755 target/release/bacon "$pkgdir/usr/bin/bacon"
}
sha512sums="
06ae530bc86cd018d83b19c90e65eaf6aab1ed502fe6644aacb0deb01dc7bcd0c30abbecee71f545758d267d4ca82ad350e12e5fb11176cd2f8a9b73d56ba946 bacon-3.14.0.tar.gz
"

View File

@@ -1,7 +1,7 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=npm
pkgname=bash-language-server
pkgver=5.6.0
pkgver=5.3.4
pkgrel=0
pkgdesc="A language server for Bash"
url="https://github.com/bash-lsp/bash-language-server"
@@ -33,5 +33,5 @@ package() {
"$pkgdir"/usr/bin/"$pkgname"
}
sha512sums="
0c99d34ca0e92a4e5719e8c8ca99faad5effe5d6d45f72cdaa05f70df521cf0830e3f81acf700d172496afa721881c2f1df4faf280e897809ce55757d5039796 bash-language-server-5.6.0.tar.gz
1d8caaa3e7f235e0022732954ccf4a3e40aab04cc54bf50e90343a79b994bf2140455fa8a453bdaa1006a5a616cc6c1b5c2cfb6fc7aa49a9dda43f76d66250ba bash-language-server-5.3.4.tar.gz
"

View File

@@ -1,32 +0,0 @@
# Maintainer:
pkgname=brlaser
pkgver=0_git20250111
_pkgsha=61492a2dd713e2790f455084b1bcdf778ee7cbcc
pkgrel=0
pkgdesc="Driver for Brother printers like the DCP 7030 and DCP 7065"
url="https://github.com/Owl-Maintain/brlaser"
arch="all"
license="GPL-2.0-or-later"
depends="cups-filters"
makedepends="cmake cups-dev samurai"
source="brlaser-$_pkgsha.tar.gz::https://github.com/Owl-Maintain/brlaser/archive/$_pkgsha.tar.gz"
builddir="$srcdir/brlaser-$_pkgsha"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
check() {
ctest --test-dir build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
99310224a1b044bb0e03b102f64bb4211e78f8fceb52d10f4ece931c085ab0713fc38332c28a5d2e0a5a4c6d03746f204e11ee0b6f6a39db48c26e519b47dd89 brlaser-61492a2dd713e2790f455084b1bcdf778ee7cbcc.tar.gz
"

View File

@@ -1,7 +1,7 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=browserpass/browserpass-extension
pkgname=browserpass-extension-firefox
pkgver=3.10.2
pkgver=3.8.0
pkgrel=0
pkgdesc="Browser extension for pass (Firefox extension)"
url="https://github.com/browserpass/browserpass-extension"
@@ -22,5 +22,5 @@ package() {
install -Dm644 browserpass-firefox.zip "$pkgdir/usr/lib/firefox/browser/extensions/browserpass@maximbaz.com.xpi"
}
sha512sums="
90850f66c6cea065f25415a8174ca84e859c660b8d26e6cfb65c3338c564570d514c3f52af94d4fac186030d18c6ca742a4424a9c4dff9179d8a4355c9d7c89c browserpass-extension-firefox-3.10.2.tar.gz
e153b9dd26910f646bcdcb045173fe582946aa0eef1b378c2c5360b8b5f6768c27cbfef515a723c2ecc46e5c35e79a24ea80e3d5960baf19f8c8b7a92472315b browserpass-extension-firefox-3.8.0.tar.gz
"

34
cargo-zigbuild/APKBUILD Normal file
View File

@@ -0,0 +1,34 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=rust-cross/cargo-zigbuild
pkgname=cargo-zigbuild
pkgver=0.18.4
pkgrel=0
pkgdesc="Compile Cargo project with zig as linker"
url="https://github.com/rust-cross/cargo-zigbuild"
arch="all"
license="MIT"
depends="zig"
makedepends="cargo cargo-auditable"
options="net"
source="$pkgname-$pkgver.tar.gz::https://github.com/rust-cross/cargo-zigbuild/archive/refs/tags/v$pkgver.tar.gz"
prepare() {
default_prepare
cargo fetch --target="$CTARGET" --locked
}
build() {
cargo auditable build --frozen --release
}
check() {
cargo test --frozen
}
package() {
install -Dm755 ./target/release/"$pkgname" "$pkgdir"/usr/bin/"$pkgname"
}
sha512sums="
12d1814179aa72ff483d757cbf0938746e29de61192bff04f16a7b17211e81cad5a26b9db734c716fdd28d8d39b04342e0ddc15f4b8530bd7d3a78692458902b cargo-zigbuild-0.18.4.tar.gz
"

View File

@@ -1,7 +1,7 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=GoogleCloudPlatform/cloud-sql-proxy
pkgname=cloud-sql-proxy
pkgver=2.16.0
pkgver=2.11.3
pkgrel=0
pkgdesc="Authentication proxy for Google Cloud SQL"
url="https://github.com/GoogleCloudPlatform/cloud-sql-proxy"
@@ -25,5 +25,5 @@ package() {
}
sha512sums="
806a0fdd90de2ce3ed1451afaffc2479cc46a4e0ccebbce2b113f81bcf28369509e1e881c30891bc514907c0628f7af44b46bb266de95efdea177af4b6b6c379 cloud-sql-proxy-2.16.0.tar.gz
2f662c703b9c530da30d5361cf28b0b112f2cc2b3c95fca0a2a356e021a2a53350575ca76967520df1d88918349e5ecb7635d58ac8d46ce048aa288838531ec9 cloud-sql-proxy-2.11.3.tar.gz
"

30
cmctl/APKBUILD Normal file
View File

@@ -0,0 +1,30 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=cert-manager/cert-manager
pkgname=cmctl
pkgver=1.15.0
pkgrel=0
pkgdesc="CLI for Cert-Manager"
url="https://github.com/cert-manager/cert-manager"
arch="all"
license="Apache-2.0"
makedepends="go"
options="chmod-clean net !check" # no tests
source="$pkgname-$pkgver.tar.gz::https://github.com/cert-manager/cert-manager/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/cert-manager-$pkgver"
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
cd ./cmd/ctl || exit 1
go build -ldflags="-buildid=" -o ../../$pkgname
}
package() {
install -Dm755 "$pkgname" "$pkgdir"/usr/bin/"$pkgname"
}
sha512sums="
799411de161c854f88bac4342c03085128d3fd7f35099394bef22e6f5111b99eda1219da29c161287ce9453f3a37b8083da0a5b178d5736286701473c3dbd005 cmctl-1.15.0.tar.gz
"

View File

@@ -1,20 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=doasedit
pkgver=1.0.7
pkgrel=0
pkgdesc="Shellscript to edit files that are not in a user-writable location"
url="https://codeberg.org/TotallyLeGIT/doasedit"
arch="noarch"
license="MIT"
options="!check" # no tests
depends="cmd:doas"
source="$pkgname-$pkgver.tar.gz::https://codeberg.org/TotallyLeGIT/doasedit/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname"
package() {
install -D -m755 "doasedit" "$pkgdir/usr/bin/doasedit"
}
sha512sums="
72100a4294469bc06ab3f356f70950e621f5b80bf66fdba096a78158050fc50338d628c87f1aae9b15273fd6e67d0e9af8c227c611a94cf93d8d24f8ea905128 doasedit-1.0.7.tar.gz
"

View File

@@ -1,29 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=nametake/golangci-lint-langserver
pkgname=golangci-lint-langserver
pkgver=0.0.11
pkgrel=0
pkgdesc="golangci-lint language server"
url="https://github.com/nametake/golangci-lint-langserver"
arch="all"
license="MIT"
depends="golangci-lint"
makedepends="go"
options="chmod-clean net !check" # no tests
source="$pkgname-$pkgver.tar.gz::https://github.com/nametake/golangci-lint-langserver/archive/refs/tags/v$pkgver.tar.gz"
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
go build -ldflags="-buildid="
}
package() {
install -Dm755 "$pkgname" "$pkgdir"/usr/bin/"$pkgname"
}
sha512sums="
b9de220a70ce95eb4f18e26dc78157d2341ecb96eb553de6a2870e2d06077009f7007166061bded5a3d03e244a2b2f49447ead7ec7ed8cd95814920c7a116dcf golangci-lint-langserver-0.0.11.tar.gz
"

View File

@@ -1,60 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=golangci/golangci-lint
pkgname=golangci-lint
pkgver=1.64.6
pkgrel=0
pkgdesc="Fast linters runner for Go"
url="https://golangci-lint.run/"
arch="all"
license="GPL-3.0-or-later"
makedepends="go"
options="net"
subpackages="
$pkgname-bash-completion
$pkgname-zsh-completion
$pkgname-fish-completion
"
source="$pkgname-$pkgver.tar.gz::https://github.com/golangci/golangci-lint/archive/refs/tags/v$pkgver.tar.gz"
# multiple linter tests timeout
[ "$CARCH" = "riscv64" ] && options="$options !check"
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
local _goldflags="
-X main.version=$pkgver
-X main.commit=AlpineLinux
-X main.date=$(date -u "+%Y-%m-%dT%TZ" ${SOURCE_DATE_EPOCH:+-d @$SOURCE_DATE_EPOCH})
"
go build -v -ldflags "$_goldflags" ./cmd/golangci-lint
for shell in bash fish zsh; do
./golangci-lint completion $shell >golangci-lint.$shell
done
}
check() {
# bidichk linter test has a problem parsing the unicode character
# govet_fieldalignment, maligned fail on 32-bit platforms
# shellcheck disable=2046
GOLANGCI_LINT_INSTALLED=true GL_TEST_RUN=1 \
go test -skip '^Test(Sources)?FromTestdata/(bidichk|govet_fieldalignment|maligned)\.go$' ./...
}
package() {
install -Dm755 golangci-lint -t "$pkgdir"/usr/bin
install -Dm644 golangci-lint.bash \
"$pkgdir"/usr/share/bash-completion/completions/golangci-lint
install -Dm644 golangci-lint.zsh \
"$pkgdir"/usr/share/zsh/site-functions/_golangci-lint
install -Dm644 golangci-lint.fish \
"$pkgdir"/usr/share/fish/vendor_completions.d/golangci-lint.fish
}
sha512sums="
00fe1be92f339e896b2fb4f5c5a7e51a6b73076555c363b0a35e49395c1dc8531bc0a26b16e4ddd5810c2f2ab7ccea3ad0f5554464ba0cd60eafadc5dfb8eeec golangci-lint-1.64.6.tar.gz
"

48
helix-fork/APKBUILD Normal file
View File

@@ -0,0 +1,48 @@
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=helix-fork
_pkgname=helix
_pkgsha=786b5c533e32cfe88dbf8742fdbc18829fb46334
pkgver=0_git20240211
pkgrel=0
pkgdesc="A post-modern modal text editor"
url="https://helix-editor.com/"
arch="x86_64"
license="MPL-2.0"
makedepends="cargo cargo-auditable"
options="net !check"
source="$_pkgname-$_pkgsha.tar.gz::https://github.com/helix-editor/helix/archive/$_pkgsha.tar.gz
diagnostics.patch
runtime-dir-fhs-location.patch
"
builddir="$srcdir/$_pkgname-$_pkgsha"
# Don't build tree-sitter languages, we provide them in standalone aports.
export HELIX_DISABLE_AUTO_GRAMMAR_BUILD=1
prepare() {
default_prepare
cargo fetch --target="$CTARGET" --locked
}
build() {
cargo auditable build --frozen --release
}
package() {
install -D -m755 target/release/hx -t "$pkgdir"/usr/bin/
install -D -m644 contrib/Helix.desktop -t "$pkgdir"/usr/share/applications/
install -D -m644 logo.svg "$pkgdir"/usr/share/icons/hicolor/scalable/apps/Helix.svg
install -d -m755 "$pkgdir"/usr/share/$_pkgname
cp -r runtime "$pkgdir"/usr/share/$_pkgname/
rm -rf "$pkgdir"/usr/share/$_pkgname/runtime/grammars
ln -Ts ../../../lib/tree-sitter "$pkgdir"/usr/share/$_pkgname/runtime/grammars
}
sha512sums="
2745f4ccd07cc2b3de37229b36ed7949596fc4371c6e9eb99cae9f38eee910b04b04e06a1194d96fa04b9bb72f978b0910fe57c0f0dd8ef2d6129c5a5beca606 helix-786b5c533e32cfe88dbf8742fdbc18829fb46334.tar.gz
e528e916041f184c6eba48cebf1e08847b5fd6b0ac91973f2d35186e93e3d2904a9ddd75e3831acbf034724ffb4861943595b884087ddcb92443f36ad5bc3a44 diagnostics.patch
0d72f5528106df006764a201caf7fefa860e67646198818fd744257050ac566082569b289f0a1815dd14f0b1364e344f8841e3c6757377d8452d8ebd5b022d29 runtime-dir-fhs-location.patch
"

4167
helix-fork/diagnostics.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,35 @@
From: Jakub Jirutka <jakub@jirutka.cz>
Date: Wed, 02 Feb 2022 00:55:24 +0100
Date: Mon, 04 Apr 2022 02:48:13 +0200
Subject: [PATCH] Change runtime directory location to follow FHS
Helix allows to specify the location of the runtime directory (which
contains arch-independent modules) via environment variable
`HELIX_RUNTIME`. Using this would require installing a wrapper script
to set this variable prior executing `hx`.
If this environment variable is not set, Helix fallbacks to directory
`./runtime` relative to the directory of the `hx` executable. This is not
suitable for Alpine (FHS).
This patch changes the fallback to `/usr/share/helix/runtime`.
--- i/helix-loader/src/lib.rs
+++ w/helix-loader/src/lib.rs
@@ -56,11 +56,12 @@ fn prioritize_runtime_dirs() -> Vec<PathBuf> {
// fallback to location of the executable being run
// canonicalize the path in case the executable is symlinked
- let exe_rt_dir = std::env::current_exe()
- .ok()
- .and_then(|path| std::fs::canonicalize(path).ok())
- .and_then(|path| path.parent().map(|path| path.to_path_buf().join(RT_DIR)))
- .unwrap();
+ let exe_rt_dir = PathBuf::from("/usr/share/helix").join(RT_DIR);
+ // let exe_rt_dir = std::env::current_exe()
+ // .ok()
+ // .and_then(|path| std::fs::canonicalize(path).ok())
+ // .and_then(|path| path.parent().map(|path| path.to_path_buf().join(RT_DIR)))
+ // .unwrap();
rt_dirs.push(exe_rt_dir);
rt_dirs
}

View File

@@ -1,57 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=helix
pkgver=25.01
pkgrel=0
pkgdesc="A post-modern modal text editor"
url="https://helix-editor.com/"
arch="all"
license="MPL-2.0"
makedepends="cargo cargo-auditable"
install="$pkgname.post-install"
subpackages="$pkgname-runtime"
options="net"
source="https://github.com/helix-editor/helix/archive/$pkgver/helix-$pkgver.tar.gz"
export HELIX_DEFAULT_RUNTIME=/usr/share/helix/runtime
prepare() {
default_prepare
cargo fetch --target="$CTARGET" --locked
}
build() {
cargo auditable build --frozen --release
}
check() {
# This is needed for following tests:
# helix-vcs::src::git::test::modified_file
# helix-vcs::src::git::test::symlink
# helix-vcs::src::git::test::unmodified_file
unset GIT_CEILING_DIRECTORIES
cargo test --frozen
}
package() {
install -D -m755 target/release/hx -t "$pkgdir"/usr/bin/
install -D -m644 contrib/Helix.desktop -t "$pkgdir"/usr/share/applications/
install -D -m644 logo.svg "$pkgdir"/usr/share/icons/hicolor/scalable/apps/Helix.svg
install -d -m755 "$pkgdir"/usr/share/"$pkgname"
rm runtime/grammars/.gitkeep
rm runtime/themes/README.md
rm -rf runtime/grammars/sources
cp -r runtime "$pkgdir"/usr/share/"$pkgname"
}
runtime() {
amove usr/share/helix/runtime/grammars
amove usr/share/helix/runtime/queries
}
sha512sums="
6e2a69b48bfaac76a3518c86aca5fddb61b4781497c78f96c8bf4ef22fc03ef946f46062355e3a1c301d0cbb7dacbcc692d3d7b1d6fcba5a8992de67b1f2dafa helix-25.01.tar.gz
"

View File

@@ -1,8 +0,0 @@
#!/bin/sh
cat >&2 <<EOF
*
* Tree-sitter grammars for syntax highlighting are packaged separately.
* They can be added by installing the helix-runtime package.
*
EOF

View File

@@ -1,29 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=helmfile/helmfile
pkgname=helmfile
pkgver=0.171.0
pkgrel=0
pkgdesc="Helm manager"
url="https://github.com/helmfile/helmfile"
arch="all"
license="MIT"
makedepends="go"
options="chmod-clean net !check" # fuck tests
source="$pkgname-$pkgver.tar.gz::https://github.com/helmfile/helmfile/archive/refs/tags/v$pkgver.tar.gz"
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
sed -i "s/^go .*$/go $(go version | cut -d' ' -f3 | cut -c3-)/" go.mod
go build -ldflags="-buildid="
}
package() {
install -Dm755 "$pkgname" "$pkgdir"/usr/bin/"$pkgname"
}
sha512sums="
01c2f44cd72f1f22ccf640636da3fcd02688d0cdd8c14225feac49b8c918ad043391ac1f4949be168841fca2888e9b2d923f0b142cce5483fbc91c16c86ea043 helmfile-0.171.0.tar.gz
"

View File

@@ -1,66 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=i3status-rust
pkgver=0.33.1
pkgrel=0
pkgdesc="i3status replacement in Rust"
url="https://github.com/greshake/i3status-rust"
arch="all"
license="GPL-3.0-only"
makedepends="
cargo
cargo-auditable
curl-dev
dbus-dev
lm-sensors-dev
notmuch-dev
openssl-dev>3
pulseaudio-dev
"
options="net"
provides="i3status-rs=$pkgver-r$pkgrel"
subpackages="$pkgname-doc"
source="
https://github.com/greshake/i3status-rust/archive/refs/tags/v$pkgver/i3status-rust-v$pkgver.tar.gz
https://dev.alpinelinux.org/archive/i3status-rs/i3status-rs-$pkgver.1
"
_common_features="pulseaudio,notmuch,maildir,icu_calendar"
case "$CARCH" in
armhf | armv7 | x86)
# pipewire crate does not build on 32-bit arches: https://gitlab.freedesktop.org/pipewire/pipewire-rs/-/issues/43
_cargo_opts="--no-default-features --features $_common_features"
;;
*)
makedepends="$makedepends clang-dev pipewire-dev"
_cargo_opts="--features $_common_features,pipewire"
;;
esac
prepare() {
default_prepare
cargo fetch --target="$CTARGET" --locked
}
build() {
cargo auditable build --release --frozen $_cargo_opts
}
check() {
cargo test $_cargo_opts
}
package() {
install -Dm755 target/release/i3status-rs -t "$pkgdir"/usr/bin/
install -Dm644 "$srcdir"/i3status-rs-$pkgver.1 \
"$pkgdir"/usr/share/man/man1/i3status-rs.1
install -Dm644 files/themes/* -t "$pkgdir"/usr/share/i3status-rust/themes/
install -Dm644 files/icons/* -t "$pkgdir"/usr/share/i3status-rust/icons/
}
sha512sums="
756dd99603c98c4cf3167ffb1c769d766aae1347361459e9d128c10249c2e287983efda6c6496db5429a81f24c5c54a3bc5e54a38b3b2e93f2cb98a6d5dfffe3 i3status-rust-v0.33.1.tar.gz
45933c5d140e397d84c3096fbe2a5af356f13c17ca3bc8f817af517f0b1d770455ae19177a439d47a95fe8ef94df869d88ee3c050184501969ec71eb6d474cf5 i3status-rs-0.33.1.1
"

View File

@@ -1,7 +1,7 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=grafana/k6
pkgname=k6
pkgver=1.0.0
pkgver=0.51.0
pkgrel=0
pkgdesc="A modern load testing tool"
url="https://github.com/grafana/k6"
@@ -43,5 +43,5 @@ package() {
}
sha512sums="
a02c8721c6a3ac83a14098fc87c7bf100296f0e63e4806fa56460dcb22f7e90e2d3e79c0b2deaaf707919dbdd64bd168eb51383ac09b59ab01d49a9a04b2d146 k6-1.0.0.tar.gz
32538106bceb5d3812dbd4dc080d8b48480a8339957782a825ef1a680a833de4b32ec33a07416d18c8dd7dcf340dfe85e5adaf7bab2fcd71421b561d141ccd03 k6-0.51.0.tar.gz
"

View File

@@ -1,37 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=lexical-lsp/lexical
pkgname=lexical
pkgver=0.7.3
pkgrel=0
pkgdesc="Elixir language server"
url="https://github.com/lexical-lsp/lexical"
arch="noarch"
license="Apache-2.0"
depends="elixir"
checkdepends="bash"
options="net"
source="
$pkgname-$pkgver.tar.gz::https://github.com/lexical-lsp/lexical/archive/refs/tags/v$pkgver.tar.gz
lexical.sh
"
build() {
mix deps.get
}
check() {
mix test
}
package() {
MIX_ENV=prod mix package
rm _build/prod/package/lexical/bin/*.sh
mkdir -p "$pkgdir"/usr/lib/lexical
cp -r _build/prod/* "$pkgdir"/usr/lib/lexical
install -Dm755 "$srcdir"/lexical.sh "$pkgdir"/usr/bin/lexical
}
sha512sums="
f0e78173717cac1f6a3de3983da753102b4425ab5f147a93ae190ebad16db73f3dfb8c9b76356974d495e5923a5e3b2c8f0d16c33b6d24bb584ac79c8c900294 lexical-0.7.3.tar.gz
45031b9b685da8d4fb131d8da3bbbfe15b1a45f5254ea0b5357986e53103834a6b9402aba5319c008c155e7d46645bd7c89678c074c065e5f7d629058561ea8e lexical.sh
"

View File

@@ -1,6 +0,0 @@
#!/bin/sh -eu
exec elixir \
--cookie 'lexical' \
--no-halt \
/usr/lib/lexical/package/lexical/bin/boot.exs

View File

@@ -1,7 +1,7 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=LuaLS/lua-language-server
pkgname=lua-language-server
pkgver=3.14.0
pkgver=3.9.1
pkgrel=0
pkgdesc="Language Server for Lua"
url="https://github.com/LuaLS/lua-language-server"
@@ -44,7 +44,7 @@ package() {
}
sha512sums="
217d5ad35fcc7f9fd9f743538872d5fe4e63b63c82a8aae6c99f2feaebceeecbe325c5f3f49c31fdce6fbddf67bf7236f1f46dd838492c84fe86790383ad23e9 lua-language-server-3.14.0.tar.gz
20a41352ae3071d6be1b643d6a7424ac54b0430df778f1ead00a22fecacd2c636dbd5b39b4fa8d81742ce19e602fca6a6eed33c77eb95e3d7dd1d32dc957be21 lua-language-server-submodules-3.14.0.zip.noauto
21995c21f2616f4b1f25523d13928f1d2991b45b219a34c746f830c2e4d711ade10238c6a2e3ddc16673dcdeb79bf97db0b1f4083f47aa967d5d0198320e825a lua-language-server-3.9.1.tar.gz
305b036d804d3864a0baecabf4cc9bf46f0bd9ffcf3cb5ced9f57b0b29b8d9231b7283970ef38bd1669be05da795f08627a56a5eb83a70d71e2768254cf497bc lua-language-server-submodules-3.9.1.zip.noauto
d8d34d2ae8073c256b5f98f4cc7db058fbb92d63a5709894fca898ab47fcfcfca2d1419a1060c29464fbad937e3d09f0cde404b4d98609eec934ea4392044849 wrapper
"

View File

@@ -2,7 +2,7 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=echasnovski/mini.nvim
pkgname=mini.nvim
pkgver=0.16.0
pkgver=0.12.0
pkgrel=0
pkgdesc="Library of 35+ independent Lua modules improving overall Neovim experience with minimal effort"
url="https://github.com/echasnovski/mini.nvim"
@@ -26,5 +26,5 @@ doc() {
}
sha512sums="
ee3d70c46a9684380bc18f5781abb211928d24387a568a6c6d2a60805c0df038b48fdaea7a04cec4af55e288064ad2cdd9f594d392c106479eee4ee488db55a5 mini.nvim-0.16.0.tar.gz
9be9cfdf5d88f109e54202e7701a813433175cd75d329176746731f00d00519a77433b36f6496138be00b89bfaff70bcde6e8697143fb2cd7d386d2701c9a003 mini.nvim-0.12.0.tar.gz
"

View File

@@ -1,28 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=vektra/mockery
pkgname=mockery
pkgver=2.53.4
pkgrel=0
pkgdesc="A mock code autogenerator for Go"
url="https://github.com/vektra/mockery"
arch="all"
license="BSD-3-Clause"
makedepends="go"
options="chmod-clean net !check" # check depends on unpackaged tools
source="$pkgname-$pkgver.tar.gz::https://github.com/vektra/mockery/archive/refs/tags/v$pkgver.tar.gz"
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
go build -ldflags="-buildid="
}
package() {
install -Dm755 "$pkgname" "$pkgdir"/usr/bin/"$pkgname"
}
sha512sums="
5c5a65532a2bf864726789543e7ff023284250d0e4dc18ae4a66929a7cad9c5365b77c9833dac8c547805a40f2faf2ee59c10a89df09b91142bf1648d6f0fc33 mockery-2.53.4.tar.gz
"

View File

@@ -2,7 +2,7 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=neovim/nvim-lspconfig
pkgname=nvim-lspconfig
pkgver=2.1.0
pkgver=0.1.8
pkgrel=0
pkgdesc="quickstart configurations for the neovim LSP client"
url="https://github.com/neovim/nvim-lspconfig"
@@ -26,5 +26,5 @@ doc() {
}
sha512sums="
b370a8b6d4a994a88b6588e513b4ea63c3c3ca4da6712a948107d5c1d5319c20052cf7c3059b57defac3b2e438cca2f0426ab36760367f7d64e96e912a634b62 nvim-lspconfig-2.1.0.tar.gz
e22139359f63d68659ac6c93891bd24612ad759f99ad95482c0f12d8cef5f2062bb26a76f8515c02f1f3ea94b421cadd25dd7ce802a2fe7bbc6642aee60174a7 nvim-lspconfig-0.1.8.tar.gz
"

View File

@@ -0,0 +1,28 @@
# Contributor: Mariam Jamal <mariam@mariamjamal.de>
# Maintainer: Mariam Jamal <mariam@mariamjamal.de>
pkgname=openfortivpn-webview-qt
_pkgver=1.2.0-electron
pkgver=1.2.0
pkgrel=0
pkgdesc="SAML/SSO client for openfortivpn"
url="https://github.com/gm-vm/openfortivpn-webview"
arch="all"
license="MIT"
depends_dev="qt6-qtbase-dev qt6-qtwebengine-dev"
makedepends="$depends_dev"
options="!check"
source="https://github.com/gm-vm/openfortivpn-webview/archive/v$_pkgver/openfortivpn-webview-qt-$_pkgver.tar.gz"
builddir="$srcdir/openfortivpn-webview-$_pkgver/$pkgname"
build() {
qmake6 .
make
}
package() {
install -Dm755 openfortivpn-webview "$pkgdir/usr/bin/$pkgname"
}
sha512sums="
2e6755250e1a02ad9187d417cac51f8562b3109fb89878dae00865fed51a8b8f44d6440ac0ca8aa15d1e712edb394b1bd874b94624c72588f97c8c887618169f openfortivpn-webview-qt-1.2.0-electron.tar.gz
"

41
openfortivpn/APKBUILD Normal file
View File

@@ -0,0 +1,41 @@
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=openfortivpn
pkgver=1.21.0
pkgrel=0
pkgdesc="Openfortivpn is a client for PPP+SSL VPN tunnel services"
url="https://github.com/adrienverge/openfortivpn"
arch="all"
license="GPL-3.0-only"
depends="ppp-daemon"
makedepends="
autoconf
automake
openssl-dev>3
"
subpackages="$pkgname-doc"
source="
$pkgname-$pkgver.tar.gz::https://github.com/adrienverge/openfortivpn/archive/v$pkgver.tar.gz
"
options="!check" # No test suite
prepare() {
default_prepare
autoreconf -fi
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
9751a1ce2f71fe51f8b15dec76afe600fc659b78a44397df9413ebdba9a77bc861fb75b1eb3540590c777447c15849e19033827cea3b494f2dac8075ec17142d openfortivpn-1.21.0.tar.gz
"

View File

@@ -1,7 +1,7 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=gitlab-tags packageName=upower/power-profiles-daemon registryUrl=https://gitlab.freedesktop.org
pkgname=power-profiles-daemon
pkgver=0.30
pkgver=0.21
pkgrel=0
pkgdesc="Makes power profiles handling available over D-Bus"
url="https://gitlab.freedesktop.org/upower/power-profiles-daemon"
@@ -44,6 +44,6 @@ package() {
}
sha512sums="
5ed70c5db9ee7337564594603635927e9bb78102f706c38db4960d28633a95abab15bf321703b7891243669736455259b7ab5b7d4d323265970dc29217434b6a power-profiles-daemon-0.30.tar.gz
2b5907897611de93b87badb6e0241b410a9ba23dafe837062dfb884a7fb94f3965ceaba4c37a2b72a190cc1ef8b0d178177e466a778f14141cd40a1b265cafa8 power-profiles-daemon-0.21.tar.gz
62dcec5d54b9014d16ec74448782beee656d4736c24e69c6a2111c92f895ee6869311e4f7e72a679226485374db14274d6e2ad54e62103b29c3301d6840d8891 0001-dbus-no-systemd.patch
"

39
pyright/APKBUILD Normal file
View File

@@ -0,0 +1,39 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=npm
pkgname=pyright
pkgver=1.1.364
pkgrel=0
pkgdesc="A static language server for Python"
url="https://github.com/bash-lsp/bash-language-server"
arch="noarch"
license="MIT"
depends="nodejs"
makedepends="npm"
options="net !check" # tests fail
source="$pkgname-$pkgver.tar.gz::https://github.com/microsoft/pyright/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver/packages/$pkgname"
prepare() {
default_prepare
cd ../../
npm ci
}
build() {
npm install --frozen-lockfile
npm run build
}
package() {
install -d "$pkgdir"/usr/bin "$pkgdir"/usr/lib/node_modules/"$pkgname"
cp -r dist langserver.index.js index.js package.json \
"$pkgdir"/usr/lib/node_modules/"$pkgname"
ln -sf ../lib/node_modules/"$pkgname"/index.js \
"$pkgdir"/usr/bin/"$pkgname"
ln -sf ../lib/node_modules/"$pkgname"/langserver.index.js \
"$pkgdir"/usr/bin/"$pkgname"-langserver
}
sha512sums="
700b524b620f4be8f4b8d7c73ef1452730d0c23697827d24d6180c33802ae40c03f728118ca3b7267c20bbe457016c506174f8cece7259c25102cfd853bd0463 pyright-1.1.364.tar.gz
"

View File

@@ -1,32 +0,0 @@
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=rmview
pkgver=0_git20240526
_pkgsha=d171b657e40a50bfe38dfd90cd0d861cf61de60e
pkgrel=0
pkgdesc="A live viewer for reMarkable written in PyQt5"
url="https://github.com/bordaigorl/rmview"
arch="noarch"
license="GPL-3.0-only"
depends="py3-jwt py3-openssl py3-paramiko py3-qt5 py3-twisted"
makedepends="py3-gpep517 py3-setuptools py3-wheel"
subpackages="$pkgname-pyc"
options="!check"
source="
$pkgname-$_pkgsha.tar.gz::https://github.com/bordaigorl/rmview/archive/$_pkgsha.tar.gz
jwt.patch
"
builddir="$srcdir/$pkgname-$_pkgsha"
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
1f67ae24fe7384e666589dda8612cb8e371faee4b2f5d3df12f2b09c6beb286fe96d353e531a0bcc8378e312eee8f9662dffaf159c8c2e90766b256dba3222f0 rmview-d171b657e40a50bfe38dfd90cd0d861cf61de60e.tar.gz
73ca68b04deb6aa3e024767b4b84a86fb0f7c2d6c62a4100704b375c491593250bf25830a6414bbb72958d866fd803c94e94d6c77d83000709bbdfb7a3466353 jwt.patch
"

View File

@@ -1,13 +0,0 @@
diff --git c/src/rmview/screenstream/screenshare.py i/src/rmview/screenstream/screenshare.py
index 199bfa0..cd7509b 100644
--- c/src/rmview/screenstream/screenshare.py
+++ i/src/rmview/screenstream/screenshare.py
@@ -129,7 +129,7 @@ class ScreenShareStream(QRunnable):
#Hack to run the vnc with the challenge
def runVnc(self, timestamp):
if not self.factory:
- userId = self.get_userid()
+ userId = ''
challenge = self.computeChallenge(userId, timestamp)
log.info(f"Challenge: {challenge.hex()}, connecting to vnc")
self.startVncClient(challenge)

View File

@@ -1,7 +1,7 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=launchbadge/sqlx
pkgname=sqlx
pkgver=0.8.6
pkgver=0.7.4
pkgrel=0
pkgdesc="The Rust SQL Toolkit (CLI)"
url="https://github.com/launchbadge/sqlx"
@@ -25,9 +25,9 @@ build() {
package() {
install -Dm755 target/release/sqlx "$pkgdir/usr/bin/sqlx"
install -Dm755 target/release/cargo-sqlx "$pkgdir/usr/bin/cargo-sqlx"
ln -sf /usr/bin/sqlx "$pkgdir/usr/bin/cargo-sqlx"
}
sha512sums="
d2d6713c11f0ba77d24cc1c48e62c528ec1cb2095fd70e6bb10ecab41d27bfa9d1fc58ea6663548b9fadefb00a0e954bf71dfb1a299d8bf06097c3c6907ad920 sqlx-0.8.6.tar.gz
022c27fca5b25f3213e7fdf18f34de5488a79d8e59694811e92474aa83b686dd31b2f38ca24f74945c8fd7ad8b36f1cdacc1173bf8c047b1312cb2bf46fb1d9b sqlx-0.7.4.tar.gz
"

View File

@@ -1,33 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=mitsuhiko/systemfd
pkgname=systemfd
pkgver=0.4.6
pkgrel=0
pkgdesc="Auto-reloading dev tool with socket activation"
url="https://github.com/mitsuhiko/systemfd"
arch="all"
license="Apache-2.0"
makedepends="cargo cargo-auditable"
options="net"
source="$pkgname-$pkgver.tar.gz::https://github.com/mitsuhiko/systemfd/archive/refs/tags/$pkgver.tar.gz"
prepare() {
default_prepare
cargo fetch --target="$CTARGET" --locked
}
build() {
cargo auditable build --frozen --release
}
check() {
cargo test --release
}
package() {
install -Dm755 target/release/systemfd "$pkgdir/usr/bin/systemfd"
}
sha512sums="
9ae48781ee39cc2097421e7bfadcf6c3a3aefb4df0a3da0ac5c84fc495b598d86cb940a38427d4fb20f4ae51cfa74923b4cf2f0f79ccae238a4f3ed46b4bc7e0 systemfd-0.4.6.tar.gz
"

View File

@@ -1,49 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=siderolabs/talos
pkgname=talosctl
pkgver=1.10.2
pkgrel=0
pkgdesc="Kubernetes Linux distribution"
url="https://talos.dev"
arch="all"
license="MPL-2.0"
makedepends="go"
options="net"
subpackages="
$pkgname-bash-completion
$pkgname-zsh-completion
$pkgname-fish-completion
"
source="talos-$pkgver.tar.gz::https://github.com/siderolabs/talos/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/talos-$pkgver"
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
go build -v ./cmd/talosctl
for shell in bash fish zsh; do
./talosctl completion $shell >talosctl.$shell
done
}
check() {
go test ./cmd/talosctl/...
}
package() {
install -Dm755 talosctl -t "$pkgdir"/usr/bin
install -Dm644 talosctl.bash \
"$pkgdir"/usr/share/bash-completion/completions/talosctl
install -Dm644 talosctl.zsh \
"$pkgdir"/usr/share/zsh/site-functions/_talosctl
install -Dm644 talosctl.fish \
"$pkgdir"/usr/share/fish/vendor_completions.d/talosctl.fish
}
sha512sums="
932674cbe47d48a8ac7009da61075b7cbcf62057151f775db4334151d8522b56a383ac7181e50e67a7b724d5eb739949d9b87e18f813b9c02d574eccc8f5ab60 talos-1.10.2.tar.gz
"

43
terraform-docs/APKBUILD Normal file
View File

@@ -0,0 +1,43 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=terraform-docs/terraform-docs
pkgname=terraform-docs
pkgver=0.18.0
pkgrel=0
pkgdesc="Generate documentation from Terraform modules in various output formats"
url="https://github.com/terraform-docs/terraform-docs"
arch="all"
license="MIT"
makedepends="go"
options="chmod-clean net !check" # tests fail
subpackages="
$pkgname-bash-completion
$pkgname-fish-completion
$pkgname-zsh-completion
"
source="$pkgname-$pkgver.tar.gz::https://github.com/terraform-docs/terraform-docs/archive/refs/tags/v$pkgver.tar.gz"
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
go build -ldflags="-buildid="
for shell in bash fish zsh; do
"./$pkgname" completion $shell >$pkgname.$shell
done
}
package() {
install -Dm755 "$pkgname" "$pkgdir"/usr/bin/"$pkgname"
install -Dm644 $pkgname.bash \
"$pkgdir"/usr/share/bash-completion/completions/$pkgname
install -Dm644 $pkgname.fish \
"$pkgdir"/usr/share/fish/vendor_completions.d/$pkgname.fish
install -Dm644 $pkgname.zsh \
"$pkgdir"/usr/share/zsh/site-functions/_$pkgname
}
sha512sums="
9fa2d8b6fd9d80ae2db9c6c1fb04b44962af7eccc701ad8c2e7165e98d47b0a873d7e1227a90add8414546e20d136f4d86e53b208a26dda3396b15ea7d3fbfe7 terraform-docs-0.18.0.tar.gz
"

View File

@@ -1,7 +1,7 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=hashicorp/terraform-ls
pkgname=terraform-ls
pkgver=0.36.4
pkgver=0.33.1
pkgrel=0
pkgdesc="Terraform Language Server"
url="https://github.com/hashicorp/terraform-ls"
@@ -25,5 +25,5 @@ package() {
}
sha512sums="
75ebac93c1f749b622c81c1cf2e46434bae15df055d380253e1b64146b102fab3468959e58aa8c0b39c319d58dee978c947c1e069c1ce6e8fca4f9df2fb8e5bd terraform-ls-0.36.4.tar.gz
10412a874242f4d8876860836823cc35b22c0d64c96e929eb2e85b2f02cacf41542c7daa193b9a2ff1fdcc6f98b88ae3a96edfcdb4b2ea61ff9689f7a64f4fc1 terraform-ls-0.33.1.tar.gz
"

View File

@@ -0,0 +1,44 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=typescript-language-server/typescript-language-server
pkgname=typescript-language-server
pkgver=4.3.3
pkgrel=0
pkgdesc="TypeScript & JavaScript Language Server"
url="https://github.com/typescript-language-server/typescript-language-server"
arch="noarch"
license="Apache-2.0 AND MIT"
depends="nodejs"
makedepends="jq yarn"
checkdepends="npm"
options="net"
source="$pkgname-$pkgver.tar.gz::https://github.com/typescript-language-server/typescript-language-server/archive/refs/tags/v$pkgver.tar.gz"
build() {
yarn --frozen-lockfile
yarn build
}
check() {
# Tests fail
rm src/configuration/fileSchemes.test.ts
yarn test:commit
}
package() {
cp package.json package.json.bak
jq -r '.devDependencies | keys | join(" ")' package.json |
xargs yarn remove --frozen-lockfile
mv package.json.bak package.json
install -d "$pkgdir"/usr/bin "$pkgdir"/usr/lib/node_modules/"$pkgname"
cp -r lib/ package.json \
"$pkgdir"/usr/lib/node_modules/"$pkgname"
ln -sf ../lib/node_modules/"$pkgname"/lib/cli.mjs \
"$pkgdir"/usr/bin/"$pkgname"
chmod 0755 "$pkgdir"/usr/lib/node_modules/"$pkgname"/lib/cli.mjs
}
sha512sums="
46bc113c5ba3b15eded75f4318f7b32c73b8b694edafb6ec384fd34e2370117717b8da974d9d69e36eb454de88e5352cfb6f7f4b03246852376c3c078e60a3a8 typescript-language-server-4.3.3.tar.gz
"

39
typescript/APKBUILD Normal file
View File

@@ -0,0 +1,39 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=microsoft/typescript
pkgname=typescript
pkgver=5.4.5
pkgrel=0
pkgdesc="JavaScript with syntax for types"
url="https://github.com/Microsoft/TypeScript/"
arch="noarch"
license="Apache-2.0"
depends="nodejs"
makedepends="npm"
options="net !check" # tests take too long
source="$pkgname-$pkgver.tar.gz::https://github.com/microsoft/TypeScript/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/TypeScript-$pkgver"
prepare() {
default_prepare
npm ci
}
build() {
sed -i 's/dependencies: \[\(.*\), dts\]/dependencies: [\1]/' Herebyfile.mjs
mkdir -p built/local/tsserverlibrary.d.ts built/local/typescript.d.ts
npx hereby LKG
}
package() {
install -d "$pkgdir"/usr/bin "$pkgdir"/usr/lib/node_modules/"$pkgname"
ln -sf ../lib/node_modules/"$pkgname"/bin/tsc "$pkgdir"/usr/bin
ln -sf ../lib/node_modules/"$pkgname"/bin/tsserver "$pkgdir"/usr/bin
cp -r bin/ lib/ package.json \
"$pkgdir"/usr/lib/node_modules/"$pkgname"
}
sha512sums="
07a8639da544bd9a80523221584f16afcf16d114694520b06ea5a1209cb3582df9e249143abbc77e291b2d607efca54593a63adaf07c8d180719483107370534 typescript-5.4.5.tar.gz
"

View File

@@ -1,35 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=wmenu
pkgver=0_git20250426
_pkgsha=b40e47a4e78ec501f9ca60526dd2b29f2221f0d1
pkgrel=0
pkgdesc="Efficient dynamic menu for Wayland"
url="https://codeberg.org/galen/wmenu"
arch="all"
license="MIT"
makedepends="
meson
libxkbcommon-dev
pango-dev
scdoc
wayland-dev
wayland-protocols
"
options="!check" # no test suite
subpackages="$pkgname-doc"
source="$pkgname-$_pkgsha.tar.gz::https://codeberg.org/galen/wmenu/archive/$_pkgsha.tar.gz"
builddir="$srcdir/$pkgname"
build() {
abuild-meson \
. output
meson compile -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
444f9f7d8ff4a4a72af5f55233729bb5d626493ee46a58f595cc6451cde2c37d01fa0b835762a9fd86577d97c3f63fd46e2e436a30647de2792af56d7bde9349 wmenu-b40e47a4e78ec501f9ca60526dd2b29f2221f0d1.tar.gz
"

View File

@@ -1,7 +1,7 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=redhat-developer/yaml-language-server
pkgname=yaml-language-server
pkgver=1.18.0
pkgver=1.14.0
pkgrel=0
pkgdesc="Language Server for YAML files"
url="https://github.com/redhat-developer/yaml-language-server"
@@ -9,7 +9,7 @@ arch="all"
license="MIT"
depends="nodejs"
makedepends="jq yarn"
options="net !check" # test randomly fails
options="net"
source="$pkgname-$pkgver.tar.gz::https://github.com/redhat-developer/yaml-language-server/archive/refs/tags/$pkgver.tar.gz"
build() {
@@ -35,5 +35,5 @@ package() {
"$pkgdir"/usr/bin/"$pkgname"
}
sha512sums="
13c2335b607685e469892cf3e88851b788c524518518a100db04d8460b69f8afc56bbd3319594da16d6853e76c3cc024f9c44ce7086a77861d149b1428b1f4f9 yaml-language-server-1.18.0.tar.gz
9bd79898b5f535feaa01d007c3c3b6c0a4b5be3a40b58cb0ca251a0f35bd07a5c862c0225ecb91698e2da23d6c70c64885c64da93f8ed02b9e5a26f4dcb16b43 yaml-language-server-1.14.0.tar.gz
"