Date: Thursday, May 16, 2013 @ 20:30:10
  Author: bisson
Revision: 185640

move binaries to /usr/bin

Modified:
  jfsutils/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2013-05-16 18:27:24 UTC (rev 185639)
+++ PKGBUILD    2013-05-16 18:30:10 UTC (rev 185640)
@@ -1,24 +1,30 @@
 # $Id$
 # Maintainer: Tobias Powalowski <tp...@archlinux.org>
+# Maintainer: Gaetan Bisson <bis...@archlinux.org>
 
 pkgname=jfsutils
 pkgver=1.1.15
-pkgrel=3
+pkgrel=4
 pkgdesc='JFS filesystem utilities'
+url='http://jfs.sourceforge.net'
 arch=('i686' 'x86_64')
-url='http://jfs.sourceforge.net'
 license=('GPL')
-groups=('base')
 depends=('util-linux')
 source=("http://jfs.sourceforge.net/project/pub/${pkgname}-${pkgver}.tar.gz";
         'inttypes.patch')
 sha1sums=('291e8bd9d615cf3d27e4000117c81a3602484a50'
           '88551e7d8418bab0df4643dce248110d4c9b0a53')
 
+groups=('base')
+
+prepare() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       patch -p1 -i ../inttypes.patch
+}
+
 build() {
        cd "${srcdir}/${pkgname}-${pkgver}"
-       patch -p1 -i ../inttypes.patch
-       ./configure --sbindir=/sbin 
+       ./configure --prefix=/usr --sbindir=/usr/bin 
        make
 }
 

Reply via email to