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

Andrea Scarpino andrea at archlinux.org
Sun Oct 18 14:39:40 UTC 2009


    Date: Sunday, October 18, 2009 @ 10:39:39
  Author: andrea
Revision: 56041

upgpkg: imwheel 1.0.0pre12-4
    fixed man path

Modified:
  imwheel/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-10-18 14:37:59 UTC (rev 56040)
+++ PKGBUILD	2009-10-18 14:39:39 UTC (rev 56041)
@@ -1,27 +1,28 @@
 # $Id$
-# Maintainer: Travis Willard <travis at archlinux.org> 
+# Contributor: Travis Willard <travis at archlinux.org> 
 # Contributor: Paul Mattal <paul at mattal.com>
 
 pkgname=imwheel
 pkgver=1.0.0pre12
-pkgrel=3
+pkgrel=4
 pkgdesc="Mouse Wheel Tool for XFree86/Xorg"
 arch=(i686 x86_64)
 url="http://imwheel.sourceforge.net"
 license=('GPL')
-depends=(libxtst libxmu)
+depends=('libxtst' 'libxmu')
 backup=(etc/X11/imwheel/imwheelrc)
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz 
-etcdir-install.patch)
-md5sums=('21d81db739ae95d96f9b650f7b826a14' '51359d20eb2a95136564db2d32e3ec38')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz 
+	etcdir-install.patch)
+md5sums=('21d81db739ae95d96f9b650f7b826a14'
+	'51359d20eb2a95136564db2d32e3ec38')
 
 build() {
+  cd $srcdir/$pkgname-$pkgver
   # patch to fix buggy location of ETCDIR
-  cd $startdir/src
-  patch -p0 <etcdir-install.patch
+  patch -p1 -i ${srcdir}/etcdir-install.patch || return 1
 
-  cd $startdir/src/$pkgname-$pkgver
-  ./configure --prefix=/usr
+  ./configure --prefix=/usr \
+    --mandir=/usr/share/man
   make || return 1
-  make DESTDIR=$startdir/pkg install
+  make DESTDIR=$pkgdir install
 }




More information about the arch-commits mailing list