aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/polkitd/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/polkitd/APKBUILD b/testing/polkitd/APKBUILD
new file mode 100644
index 0000000000..0da0815fa7
--- /dev/null
+++ b/testing/polkitd/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=polkitd
+pkgver=0.1.1
+pkgrel=0
+pkgdesc="D bindings for polkit-gobject"
+url="https://gitlab.alpinelinux.org/Cogitri/polkit-d"
+arch="x86_64" # ldc
+license="GPL-3.0-or-later"
+makedepends="meson ldc ldc-runtime glibd-dev polkit-dev gir-to-d glib-dev
+ gobject-introspection-dev"
+subpackages="$pkgname-dev"
+source="https://gitlab.alpinelinux.org/Cogitri/polkit-d/-/archive/v$pkgver/polkit-d-v$pkgver.tar.gz"
+builddir="$srcdir/polkit-d-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="adb0b55541f55ad41dcbafcdf8eaef53bad0d88a2a9e7c868cb507e5fe7c4258cb55465340ed5ea64baae52de0eb761d7899aa0fe30e8c50c2b4fd7fa92cb726 polkit-d-v0.1.1.tar.gz"