diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/gksu |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/gksu')
-rw-r--r-- | extra/gksu/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/extra/gksu/PKGBUILD b/extra/gksu/PKGBUILD new file mode 100644 index 000000000..d48fdb3a7 --- /dev/null +++ b/extra/gksu/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 109132 2011-02-06 11:40:19Z andyrtr $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: Eduardo Lopes (eduol@gmx.net) + +pkgname=gksu +pkgver=2.0.2 +pkgrel=3 +pkgdesc="A graphical frontend for su" +arch=('i686' 'x86_64') +url="http://www.nongnu.org/gksu/index.html" +license=('GPL') +depends=('libgksu>=2.0.12' 'xorg-xauth') +makedepends=('gtk-doc' 'nautilus>=2.26.0' 'intltool') +optdepends=('nautilus') +options=('!libtool') +source=(http://people.debian.org/~kov/gksu/${pkgname}-${pkgver}.tar.gz) +md5sums=('cacbcac3fc272dce01c6ea38354489e2') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i -e 's|/usr/bin/x-terminal-emulator|-l gnome-terminal|g' gksu.desktop + echo "TryExec=gnome-terminal" >> gksu.desktop +# libtoolize --force +# aclocal +# autoconf +# automake + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} |