summaryrefslogtreecommitdiff
path: root/community/lxpolkit
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/lxpolkit
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/lxpolkit')
-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
}