[arch-commits] Commit in gksu/trunk (PKGBUILD)

andyrtr at archlinux.org andyrtr at archlinux.org
Sun Feb 6 11:40:20 UTC 2011


    Date: Sunday, February 6, 2011 @ 06:40:19
  Author: andyrtr
Revision: 109132

upgpkg: gksu 2.0.2-3
add xorg-xauth dep;  FS#20940

Modified:
  gksu/trunk/PKGBUILD

----------+
 PKGBUILD |   30 ++++++++++++++++++------------
 1 file changed, 18 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-02-06 11:25:39 UTC (rev 109131)
+++ PKGBUILD	2011-02-06 11:40:19 UTC (rev 109132)
@@ -4,13 +4,13 @@
 
 pkgname=gksu
 pkgver=2.0.2
-pkgrel=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')
-makedepends=('gtk-doc' 'pkgconfig' 'nautilus>=2.26.0' 'intltool')
+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)
@@ -18,14 +18,20 @@
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  sed -i -e 's|/usr/bin/x-terminal-emulator|-l gnome-terminal|g' gksu.desktop || return 1
+  sed -i -e 's|/usr/bin/x-terminal-emulator|-l gnome-terminal|g' gksu.desktop
   echo "TryExec=gnome-terminal" >> gksu.desktop
-  libtoolize --force || return 1
-  aclocal || return 1
-  autoconf || return 1
-  automake || return 1
-  ./configure --prefix=/usr --sysconfdir=/etc \
-      --localstatedir=/var --disable-static || return 1
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
+#  libtoolize --force
+#  aclocal
+#  autoconf
+#  automake
+  ./configure --prefix=/usr \
+	--sysconfdir=/etc \
+	--localstatedir=/var \
+	--disable-static
+  make
 }
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}




More information about the arch-commits mailing list