# $Id: PKGBUILD 197991 2013-10-30 12:07:59Z allan $ # Maintainer: Jan de Groot # Contributor: Eduardo Lopes (eduol@gmx.net) pkgname=gksu pkgver=2.0.2 pkgrel=4.1 pkgdesc="A graphical frontend for su" arch=('i686' 'x86_64' 'mips64el') url="http://www.nongnu.org/gksu/index.html" license=('GPL') depends=('libgksu>=2.0.12' 'xorg-xauth') makedepends=('gtk-doc' 'intltool') 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 ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ --disable-nautilus-extension make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }