mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
41 lines
1.3 KiB
Plaintext
41 lines
1.3 KiB
Plaintext
maintainer="Achill Gilgenast <achill@achill.org>"
|
|
pkgname=junction
|
|
pkgver=1.12
|
|
pkgrel=1
|
|
_troll_commit=438252e827f80f93d4385baa3e956390e3ddb04f
|
|
pkgdesc="Application/browser chooser"
|
|
url="https://github.com/sonnyp/Junction"
|
|
arch="noarch !armhf" # gjs
|
|
license="GPL-3.0-only"
|
|
depends="coreutils-env"
|
|
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
|
|
"
|