Commit c6501177 authored by Rasmus Thomsen's avatar Rasmus Thomsen

testing/polkitd: new aport

https://gitlab.alpinelinux.org/Cogitri/polkit-d
D bindings for polkit-gobject
parent 8bda38eb
Pipeline #11406 failed with stages
in 31 seconds
# 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"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment