testing/junction: new aport

This commit is contained in:
Achill Gilgenast 2026-03-03 22:30:52 +01:00
parent 1dada9e514
commit 91ec6fc45f
No known key found for this signature in database
GPG Key ID: BB8C8A81C6452A88

39
testing/junction/APKBUILD Normal file
View File

@ -0,0 +1,39 @@
maintainer="Achill Gilgenast <achill@achill.org>"
pkgname=junction
pkgver=1.12
pkgrel=0
_troll_commit=438252e827f80f93d4385baa3e956390e3ddb04f
pkgdesc="Application/browser chooser"
url="https://github.com/sonnyp/Junction"
arch="noarch !armhf" # gjs
license="GPL-3.0-only"
makedepends="blueprint-compiler coreutils meson gettext gjs gtk-update-icon-cache desktop-file-utils"
source="$pkgname-$pkgver.tar.gz::https://github.com/sonnyp/Junction/archive/refs/tags/v$pkgver.tar.gz
troll-$_troll_commit.tar.gz::https://github.com/sonnyp/troll/archive/$_troll_commit.tar.gz
"
builddir="$srcdir/Junction-$pkgver"
prepare() {
default_prepare
rm -r "$builddir"/troll
mv "$srcdir"/troll-$_troll_commit "$builddir"/troll
}
build() {
abuild-meson \
output .
meson compile -C output
}
check() {
meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
0f07e0a7e9a9a9697e966c1b14d018107c7a5f7c0d44b030f4b3a180dad49ff21eb91f03778bcc03b601094549b92ce5b5db9351c7f6a9ce13756ed819c96bf5 junction-1.12.tar.gz
2555e21f4ba6e08d3b6c38502dca7b64d3ccc520cc04028bbe6fa41c0268ccf9260dcd7a392e5f7fed1df97be1a03fc6a9351e5933a90ffb620b011dc44699ff troll-438252e827f80f93d4385baa3e956390e3ddb04f.tar.gz
"