aboutsummaryrefslogtreecommitdiffstats
path: root/community/xfce-polkit
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-06-12 09:27:45 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-06-12 09:27:45 +0000
commit16a4bf59a1b088f852dab20a6a90e47889f8826b (patch)
tree3d995370345889caba845532eaa8d45f4b3f8c14 /community/xfce-polkit
parent5ee4f8701a1d5e1d6fd403931ee5af48c6f4f4d2 (diff)
downloadaports-16a4bf59a1b088f852dab20a6a90e47889f8826b.tar.bz2
aports-16a4bf59a1b088f852dab20a6a90e47889f8826b.tar.xz
community/xfce-polkit: move from testing
Diffstat (limited to 'community/xfce-polkit')
-rw-r--r--community/xfce-polkit/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/community/xfce-polkit/APKBUILD b/community/xfce-polkit/APKBUILD
new file mode 100644
index 0000000000..eb43d8a172
--- /dev/null
+++ b/community/xfce-polkit/APKBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=xfce-polkit
+pkgver=0.3
+pkgrel=0
+pkgdesc="A simple PolicyKit authentication agent for XFCE"
+url="https://github.com/ncopa/xfce-polkit"
+arch="all"
+license="GPL-2.0"
+makedepends="libxfce4ui-dev polkit-dev glib-dev gtk+3.0-dev autoconf automake"
+source="https://github.com/ncopa/xfce-polkit/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$builddir"
+ aclocal
+ autoconf
+ automake --add-missing
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --libexecdir=/usr/lib/xfce4
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="2f6c2300caad1410f139e9192046a60e4e64954867085d22ab403f7808634cce7a269de05de13bebeda025c9e5251b1c042efc5af1417f0153dec47c616d15ba xfce-polkit-0.3.tar.gz"