summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/enca/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 19:42:08 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 19:42:08 (GMT)
commit9fafc9b0132fd17e8637f74524be13c6435a0bf5 (patch)
treec611cb6ea2b5e3f3bfa325a50189dfabbaf63d13 /abs/extra/community/enca/PKGBUILD
parent487f38cb286a3d0d48b6cd343060d99b8caf6b14 (diff)
downloadlinhes_pkgbuild-9fafc9b0132fd17e8637f74524be13c6435a0bf5.zip
linhes_pkgbuild-9fafc9b0132fd17e8637f74524be13c6435a0bf5.tar.gz
linhes_pkgbuild-9fafc9b0132fd17e8637f74524be13c6435a0bf5.tar.bz2
enca 1.13
Diffstat (limited to 'abs/extra/community/enca/PKGBUILD')
-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
}