diff options
Diffstat (limited to 'community/gnomesu/PKGBUILD')
-rw-r--r-- | community/gnomesu/PKGBUILD | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/community/gnomesu/PKGBUILD b/community/gnomesu/PKGBUILD index 3cfd444da..ed183e16a 100644 --- a/community/gnomesu/PKGBUILD +++ b/community/gnomesu/PKGBUILD @@ -1,10 +1,11 @@ -# $Id: PKGBUILD 7581 2010-01-08 03:42:33Z dgriffiths $ +# $Id: PKGBUILD 65528 2012-02-21 08:44:37Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Eric Belanger <belanger@astro.umontreal.ca> # Contributor: Kritoke <kritoke@nospam.gmail.com> pkgname=gnomesu pkgver=0.3.1 -pkgrel=6 +pkgrel=7 pkgdesc="A program that allows a user to su to root in a Gnome environment." arch=('i686' 'x86_64') url="http://www.gtkfiles.org/app.php/GnomeSu" @@ -16,15 +17,15 @@ source=(http://downloads.sourceforge.net/sourceforge/xsu/$pkgname-$pkgver.tar.gz md5sums=('8ebcf248b4f8430c96d80379ec2acdd8') build() { - cd $startdir/src/$pkgname-$pkgver - sed -i 's/1.4/1.10/' configure || return 1 - sed -i 's/gsu/gnomesu/' xsu.desktop.in || return 1 - sed -i 's/gnome-warning/dialog-warning/' xsu.desktop.in || return 1 - sed -i 's|gnome-warning|/usr/share/icons/gnome/16x16/status/dialog-warning|' src/xsu.c || return 1 + cd $srcdir/$pkgname-$pkgver + sed -i 's/1.4/1.10/' configure + sed -i 's/gsu/gnomesu/' xsu.desktop.in + sed -i 's/gnome-warning/dialog-warning/' xsu.desktop.in + sed -i 's|gnome-warning|/usr/share/icons/gnome/16x16/status/dialog-warning|' src/xsu.c ./configure --prefix=/usr --mandir=/usr/share - make CFLAGS+=-Wl,-export-dynamic || return 1 - make DESTDIR=$startdir/pkg install - install -D -m644 xsu.desktop $startdir/pkg/usr/share/applications/gnomesu.desktop - rm -r $startdir/pkg/usr/share/gnome + make CFLAGS+=-Wl,-export-dynamic + make DESTDIR=$pkgdir install + install -D -m644 xsu.desktop $pkgdir/usr/share/applications/gnomesu.desktop + rm -r $pkgdir/usr/share/gnome mv $pkgdir/usr/doc $pkgdir/usr/share/doc } |