aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-09-25 17:04:26 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-09-25 17:04:26 +0200
commit560b4588fc0e36985b72703d70b8fccd4be0ac6d (patch)
tree4adeac61ebfad89e697e0bed17e0c0945373696b
parent35c1a02fbdc225b2350f9b0feb818b8517c8b398 (diff)
downloadaports-560b4588fc0e36985b72703d70b8fccd4be0ac6d.tar.bz2
aports-560b4588fc0e36985b72703d70b8fccd4be0ac6d.tar.xz
testing/xfce-polkit: new aport
A simple PolicyKit authentication agent for XFCE https://github.com/ncopa/xfce-polkit
-rw-r--r--testing/xfce-polkit/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/xfce-polkit/APKBUILD b/testing/xfce-polkit/APKBUILD
new file mode 100644
index 0000000000..6354808a81
--- /dev/null
+++ b/testing/xfce-polkit/APKBUILD
@@ -0,0 +1,47 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=xfce-polkit
+pkgver=0.2
+pkgrel=0
+pkgdesc="A simple PolicyKit authentication agent for XFCE"
+url="https://github.com/ncopa/xfce-polkit"
+arch="all"
+license="GPL2"
+depends=""
+depends_dev=""
+makedepends="$depends_dev libxfce4ui-dev polkit-dev glib-dev gtk+2.0-dev"
+install=""
+subpackages=""
+source="https://github.com/ncopa/xfce-polkit/releases/download/v$pkgver/xfce-polkit-$pkgver.tar.gz"
+
+_builddir="$srcdir"/xfce-polkit-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --libexecdir=/usr/lib/xfce4 \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="3b9b6ee32d339cd37f1f60dddcebdb6e xfce-polkit-0.2.tar.gz"
+sha256sums="8947a2582dacad78cfab89b3ee390e1a7810b2457343e6db558d6ee9a872be3a xfce-polkit-0.2.tar.gz"
+sha512sums="da0d01c8b9805efdd212d8d02cafb95a1663184b17c06b0d27553e2189e44b9d1982aa4f51d6cd74d5e0874475346609a1d7c87eba82c55d9967729f59c7c8ac xfce-polkit-0.2.tar.gz"