summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrederik2015-07-30 17:06:18 +0200
committerfrederik2015-07-30 17:06:18 +0200
commit5ba2ff2f1398f613c91492a0743603e7462ff5b9 (patch)
treec442d5d4ba335ee0506f7cb4215c73a0a8d1136f
downloadaur-5ba2ff2f1398f613c91492a0743603e7462ff5b9.tar.gz
inital commit from aur3
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD43
-rw-r--r--xfce-polkit.desktop12
-rw-r--r--xfce-polkit.install3
4 files changed, 81 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..390c5d52391
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = xfce-polkit-git
+ pkgdesc = A simple PolicyKit authentication agent for XFCE
+ pkgver = 8.be888ee
+ pkgrel = 3
+ url = https://github.com/ncopa/xfce-polkit
+ install = xfce-polkit.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ depends = polkit
+ depends = libxfce4ui
+ provides = xfce-polkit
+ provides = polkit-gnome
+ conflicts = xfce-polkit
+ conflicts = polkit-gnome
+ source = git+https://github.com/ncopa/xfce-polkit
+ source = xfce-polkit.desktop
+ md5sums = SKIP
+ md5sums = 7f0d7f7583351851be1bf4c1665fdf91
+
+pkgname = xfce-polkit-git
+
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:
diff --git a/xfce-polkit.desktop b/xfce-polkit.desktop
new file mode 100644
index 00000000000..01f507178f0
--- /dev/null
+++ b/xfce-polkit.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Encoding=UTF-8
+Version=0.9.4
+Type=Application
+Name=xfce-polkit
+Comment=A simple PolkicyKit authentication agent for XFCE
+Exec=/usr/lib/xfce-polkit/xfce-polkit
+OnlyShowIn=XFCE;
+StartupNotify=false
+Terminal=false
+Hidden=false
+
diff --git a/xfce-polkit.install b/xfce-polkit.install
new file mode 100644
index 00000000000..d940b23e1d2
--- /dev/null
+++ b/xfce-polkit.install
@@ -0,0 +1,3 @@
+post_install() {
+ /usr/lib/xfce-polkit/xfce-polkit > /dev/null 2>&1 &
+}