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

Eric Bélanger eric at nymeria.archlinux.org
Thu Mar 21 21:04:57 UTC 2013


    Date: Thursday, March 21, 2013 @ 22:04:57
  Author: eric
Revision: 86748

Remove pkgdir reference in build function

Modified:
  cksfv/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-03-21 21:01:12 UTC (rev 86747)
+++ PKGBUILD	2013-03-21 21:04:57 UTC (rev 86748)
@@ -14,13 +14,13 @@
 md5sums=('2e15289753ea0b90b6ea86993f93b383')
 
 build() {
-  cd $srcdir/$pkgname-$pkgver
-  ./configure --prefix=/usr --package-prefix=$pkgdir
+  cd "$srcdir/$pkgname-$pkgver"
+  ./configure --prefix=/usr
   make
 }
 
 package() {
-  cd $srcdir/$pkgname-$pkgver
-  make install
-  chmod 644 $pkgdir/usr/share/man/man1/$pkgname.1
+  cd "$srcdir/$pkgname-$pkgver"
+  make BINDIR="$pkgdir/usr/bin" MANDIR="$pkgdir/usr/share/man" install
+  chmod 644 "$pkgdir/usr/share/man/man1/$pkgname.1"
 }




More information about the arch-commits mailing list