summaryrefslogtreecommitdiff
path: root/community/lxpolkit/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/lxpolkit/PKGBUILD')
-rw-r--r--community/lxpolkit/PKGBUILD16
1 files changed, 11 insertions, 5 deletions
diff --git a/community/lxpolkit/PKGBUILD b/community/lxpolkit/PKGBUILD
index 2455ab0be..f212c37ef 100644
--- a/community/lxpolkit/PKGBUILD
+++ b/community/lxpolkit/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 96579 2013-09-01 20:36:18Z bgyorgy $
+# $Id: PKGBUILD 102844 2013-12-22 01:57:44Z bgyorgy $
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
pkgname=lxpolkit
pkgver=0.1.0
-pkgrel=2
-pkgdesc="Simple policykit authentication agent for LXDE"
+pkgrel=3
+pkgdesc="Simple polkit authentication agent for LXDE"
arch=('i686' 'x86_64')
url="http://blog.lxde.org/?p=674"
license=('GPL')
@@ -14,14 +14,20 @@ makedepends=('intltool')
source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz)
md5sums=('2597b00035fe1d695219e0f9bfa8c26f')
+prepare() {
+ cd $pkgname-$pkgver
+ # Don't conflict with MATE and Razor-qt (they have their own polkit agents)
+ sed -i '/^NotShowIn/ s/GNOME;KDE;/GNOME;KDE;MATE;Razor;/' data/lxpolkit.desktop.in.in
+}
+
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd $pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/$pkgname
make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}