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

Allan McRae allan at archlinux.org
Fri Feb 17 19:24:06 EST 2012


    Date: Friday, February 17, 2012 @ 19:24:06
  Author: allan
Revision: 150464

upgpkg: enscript 1.6.5.2-2

signing rebuild

Modified:
  enscript/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-18 00:19:31 UTC (rev 150463)
+++ PKGBUILD	2012-02-18 00:24:06 UTC (rev 150464)
@@ -4,9 +4,9 @@
 
 pkgname=enscript
 pkgver=1.6.5.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Convert ASCII files to PostScript suitable for printing"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 backup=('etc/enscript/enscript.cfg')
 depends=('glibc')
 license=('GPL2')
@@ -15,12 +15,17 @@
 url="http://git.savannah.gnu.org/cgit/enscript.git"
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver || return 1
+  cd $srcdir/$pkgname-$pkgver
   ./configure --prefix=/usr --sysconfdir=/etc/enscript --mandir=/usr/share/man \
-      --infodir=/usr/share/info || return 1
-  /usr/bin/make || return 1
-  /usr/bin/make prefix=$startdir/pkg/usr \
-      sysconfdir=$startdir/pkg/etc/enscript mandir=$startdir/pkg/usr/share/man \
-      infodir=$startdir/pkg/usr/share/info install || return 1
+    --infodir=/usr/share/info
+  make
 }
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make prefix=$pkgdir/usr \
+    sysconfdir=$pkgdir/etc/enscript mandir=$pkgdir/usr/share/man \
+    infodir=$pkgdir/usr/share/info install
+}
+
 # vim: ts=2 sw=2 et ft=sh



More information about the arch-commits mailing list