summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorfrederik2015-07-30 17:06:18 +0200
committerfrederik2015-07-30 17:06:18 +0200
commit5ba2ff2f1398f613c91492a0743603e7462ff5b9 (patch)
treec442d5d4ba335ee0506f7cb4215c73a0a8d1136f /PKGBUILD
downloadaur-5ba2ff2f1398f613c91492a0743603e7462ff5b9.tar.gz
inital commit from aur3
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8c0fb5c5ad5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Frederik Schwan <frederik dot schwan at linux dot com>
+# Contributor: by Eric Viveiros <eviveiro at gmail dot com>
+
+_pkgname=xfce-polkit
+pkgname=${_pkgname}-git
+pkgver=8.be888ee
+pkgrel=3
+pkgdesc="A simple PolicyKit authentication agent for XFCE"
+arch=('i686' 'x86_64')
+url="https://github.com/ncopa/xfce-polkit"
+license=(GPL)
+depends=('polkit' 'libxfce4ui')
+makedepends=('git')
+provides=("${_pkgname}" "polkit-gnome")
+conflicts=("${_pkgname}" "polkit-gnome")
+source=("git+$url"
+ "xfce-polkit.desktop")
+md5sums=('SKIP'
+ '7f0d7f7583351851be1bf4c1665fdf91')
+install=xfce-polkit.install
+
+pkgver() {
+ cd "$srcdir/$_pkgname"
+ echo "$(git rev-list --count HEAD).$(git describe --always)" | sed 's|-|.|g'
+}
+
+build() {
+ cd "$srcdir/$_pkgname"
+ aclocal
+ autoconf
+ automake --add-missing
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+ make
+}
+
+package() {
+ install -Dm755 "$srcdir/$_pkgname/src/xfce-polkit" \
+ "$pkgdir/usr/lib/$_pkgname/xfce-polkit"
+ install -Dm644 "$srcdir/xfce-polkit.desktop" \
+ "$pkgdir/etc/xdg/autostart/xfce-polkit.desktop"
+}
+
+# vim:set ts=2 sw=2 et: