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

Giovanni Scafora giovanni at archlinux.org
Mon Nov 28 13:10:09 EST 2011


    Date: Monday, November 28, 2011 @ 13:10:08
  Author: giovanni
Revision: 143738

upgpkg: enca 1.13-2

rebuild

Modified:
  enca/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-28 18:00:09 UTC (rev 143737)
+++ PKGBUILD	2011-11-28 18:10:08 UTC (rev 143738)
@@ -4,14 +4,14 @@
 
 pkgname=enca
 pkgver=1.13
-pkgrel=1
+pkgrel=2
 pkgdesc="Charset analyser and converter"
 arch=('i686' 'x86_64')
 url="http://freshmeat.net/projects/enca/"
 options=('!libtool')
 license=('GPL')
-depends=('recode' 'sh')
-source=(http://dl.cihar.com/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
+depends=('recode' 'bash')
+source=("http://dl.cihar.com/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
 md5sums=('762bead5d9a0a5e55024e1102baaa89d')
 
 build() {
@@ -22,6 +22,11 @@
               --mandir=/usr/share/man \
               --with-librecode=/usr \
               --enable-external
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
+  make
 }
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list