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

Andrea Scarpino andrea at archlinux.org
Tue Oct 20 20:58:30 UTC 2009


    Date: Tuesday, October 20, 2009 @ 16:58:29
  Author: andrea
Revision: 56264

upgpkg: xqf 1.0.5-4
    fixed RPATH; man pages

Modified:
  xqf/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-10-20 20:58:22 UTC (rev 56263)
+++ PKGBUILD	2009-10-20 20:58:29 UTC (rev 56264)
@@ -1,22 +1,28 @@
 # $Id$
-# Maintainer: dale <dale at archlinux.org>
+# Contributor: dale <dale at archlinux.org>
 # Contributor: Tom Newsom <Jeepster at gmx.co.uk>
 
 pkgname=xqf
 pkgver=1.0.5
-pkgrel=3
-pkgdesc="XQF is a Quake/Quake World/Quake2/Quake3 server browser and launcher for X11"
+pkgrel=4
+pkgdesc="A Quake/Quake World/Quake2/Quake3 server browser and launcher for X11"
 arch=('i686' 'x86_64')
 url="http://www.linuxgames.com/xqf/"
 license=('GPL')
 depends=('gtk2' 'qstat' 'geoip')
-makedepends=('perlxml')
-source=(http://downloads.sourceforge.net/project/xqf/xqf/xqf-$pkgver/xqf-$pkgver.tar.gz)
+makedepends=('perlxml' 'chrpath')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
 md5sums=('a88cecba6abb6349107ab135f1009946')
 
 build() {
   cd $srcdir/$pkgname-$pkgver
-  ./configure --prefix=/usr --enable-gtk2 --enable-geoip
+  ./configure --prefix=/usr \
+    --mandir=/usr/share/man \
+    --enable-gtk2 \
+    --enable-geoip
   make || return 1
   make DESTDIR=$pkgdir install
+
+  find $pkgdir -name \*.so  -type f -exec chrpath -d {} \; && \
+  find $pkgdir -perm /ugo+x -type f -exec chrpath -d {} \;
 }




More information about the arch-commits mailing list