[arch-commits] Commit in lxpolkit/trunk (PKGBUILD)
Balló György
bgyorgy at nymeria.archlinux.org
Sun Dec 22 01:57:36 UTC 2013
Date: Sunday, December 22, 2013 @ 02:57:35
Author: bgyorgy
Revision: 102843
upgpkg: lxpolkit 0.1.0-3
Don't conflict with MATE and Razor-qt (they have their own polkit agents)
Modified:
lxpolkit/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-12-21 20:43:32 UTC (rev 102842)
+++ PKGBUILD 2013-12-22 01:57:35 UTC (rev 102843)
@@ -3,8 +3,8 @@
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 @@
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
}
More information about the arch-commits
mailing list