summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/enca
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2011-08-05 20:26:32 (GMT)
committerBritney Fransen <brfransen@gmail.com>2011-08-05 20:26:32 (GMT)
commitee0e70fee3f84792d1c020c6fc848fc63227e4d7 (patch)
tree1dad8ba3d29100bcc8be5c220f9aa9902d250e51 /abs/extra/community/enca
parenta7f747182451fd90c342fea4e6fe67978519219f (diff)
downloadlinhes_pkgbuild-ee0e70fee3f84792d1c020c6fc848fc63227e4d7.zip
linhes_pkgbuild-ee0e70fee3f84792d1c020c6fc848fc63227e4d7.tar.gz
linhes_pkgbuild-ee0e70fee3f84792d1c020c6fc848fc63227e4d7.tar.bz2
enca: Bump to latest.
Diffstat (limited to 'abs/extra/community/enca')
-rw-r--r--abs/extra/community/enca/PKGBUILD32
1 files changed, 18 insertions, 14 deletions
diff --git a/abs/extra/community/enca/PKGBUILD b/abs/extra/community/enca/PKGBUILD
index 1bbd7db..e398023 100644
--- a/abs/extra/community/enca/PKGBUILD
+++ b/abs/extra/community/enca/PKGBUILD
@@ -1,23 +1,27 @@
-# $Id: PKGBUILD,v 1.7 2009/02/27 12:40:33 sergej Exp $
-# Maintainer: Sergej Pupykin <sergej@aur.archlinux.org>
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Filip Dvorak <fila@pruda.com>
pkgname=enca
-pkgver=1.9
-pkgrel=4
+pkgver=1.13
+pkgrel=1
pkgdesc="Charset analyser and converter"
-arch=(i686 x86_64)
-url="http://trific.ath.cx/software/enca"
+arch=('i686' 'x86_64')
+url="http://freshmeat.net/projects/enca/"
options=('!libtool')
-license=("GPL")
-depends=()
-source=(http://archlinux-stuff.googlecode.com/files/enca-$pkgver.tar.bz2)
-md5sums=('b3581e28d68d452286fb0bfe58bed3b3')
+license=('GPL')
+depends=('recode' 'sh')
+source=(http://dl.cihar.com/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('762bead5d9a0a5e55024e1102baaa89d')
build() {
- cd $startdir/src/enca-$pkgver
- ./configure --prefix=/usr --libexecdir=/usr/lib/enca
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr \
+ --libexecdir=/usr/lib \
+ --mandir=/usr/share/man \
+ --with-librecode=/usr \
+ --enable-external
make || return 1
- make DESTDIR=$startdir/pkg install
+ make DESTDIR="${pkgdir}" install || return 1
}
-