diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-22 23:09:46 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-22 23:09:46 -0300 |
commit | f87cdf22eb712b5b1c118f768d4ff710fc839403 (patch) | |
tree | 023ff68dc2d6efdb25a8ab8b182a14b8d6a55889 /community/gnomesu/PKGBUILD | |
parent | 290a8b0dd73569b6b2d9855be9638d3338c566e0 (diff) | |
parent | 1d9fb21dff6df1679e536ab672edcbbdb4cf3a15 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/arp-scan/PKGBUILD
community/curlftpfs/PKGBUILD
community/dtach/PKGBUILD
community/espeakup/PKGBUILD
community/g2sc/PKGBUILD
community/judy/PKGBUILD
community/python-fuse/PKGBUILD
community/sisctrl/PKGBUILD
extra/avahi/PKGBUILD
extra/kdesdk/PKGBUILD
extra/nasm/PKGBUILD
multilib/lib32-p11-kit/PKGBUILD
multilib/lib32-pixman/PKGBUILD
testing/xf86-input-synaptics/PKGBUILD
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 89a456fa4..579e75278 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' 'mips64el') 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 } |