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

Juergen Hoetzel juergen at archlinux.org
Mon Feb 20 16:04:32 EST 2012


    Date: Monday, February 20, 2012 @ 16:04:32
  Author: juergen
Revision: 150705

use package() for install

Modified:
  ecl/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-20 21:01:49 UTC (rev 150704)
+++ PKGBUILD	2012-02-20 21:04:32 UTC (rev 150705)
@@ -18,7 +18,7 @@
 
 build() {
   cd $srcdir/$pkgname-$pkgver
-  sed -i 's|-Wl,--rpath,~A|-Wl,--rpath,/usr/lib/ecl|' src/configure || return 1
+  sed -i 's|-Wl,--rpath,~A|-Wl,--rpath,/usr/lib/ecl|' src/configure 
   ./configure --build=$CHOST \
               --prefix=/usr       \
               --with-tcp          \
@@ -30,6 +30,9 @@
               --without-clx \
               --disable-threads
 
-  make || return 1
-  make DESTDIR=$pkgdir install || return 1
+  make
 }
+
+package() {
+  make -C $srcdir/$pkgname-$pkgver DESTDIR=$pkgdir install
+}
\ No newline at end of file



More information about the arch-commits mailing list