summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/enca
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/community/enca')
-rw-r--r--abs/extra/community/enca/PKGBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/abs/extra/community/enca/PKGBUILD b/abs/extra/community/enca/PKGBUILD
index e398023..fdcea7c 100644
--- a/abs/extra/community/enca/PKGBUILD
+++ b/abs/extra/community/enca/PKGBUILD
@@ -1,17 +1,17 @@
-# $Id$
+# $Id: PKGBUILD 143739 2011-11-28 18:10:34Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Filip Dvorak <fila@pruda.com>
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 @@ build() {
--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
}