blob: d282e84b9e0ba8c818c1b4ed848dea1031297565 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=apk-tools-d
pkgver=2.10.5.6
pkgrel=0
pkgdesc="D bindings for APK, the Alpine Package Keeper"
url="https://gitlab.alpinelinux.org/Cogitri/apk-toolsd/"
arch="x86 x86_64 aarch64" # ldc
license="GPL-2.0-or-later"
makedepends="meson ldc ldc-runtime openssl-d-dev"
subpackages="$pkgname-dev $pkgname-dbg"
source="https://gitlab.alpinelinux.org/Cogitri/apk-toolsd/-/archive/v$pkgver/apk-toolsd-v$pkgver.tar.gz"
builddir="$srcdir/apk-toolsd-v$pkgver"
build() {
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=plain \
. output
ninja -C output
}
check() {
ninja -C output test
}
package() {
DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="53415676bada3419ff8bb2f43adc0bbcbbe61f0f2ab327b9197519184d379bf438a0c186237a1e32914381aac4e0cff9c0a7d9d4bccf4831df150c3ad3397885 apk-toolsd-v2.10.5.6.tar.gz"
|