summaryrefslogtreecommitdiffstats
path: root/abs/extra/enca/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/enca/PKGBUILD')
-rw-r--r--abs/extra/enca/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/extra/enca/PKGBUILD b/abs/extra/enca/PKGBUILD
new file mode 100644
index 0000000..33346c7
--- /dev/null
+++ b/abs/extra/enca/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: Filip Dvorak <fila@pruda.com>
+
+pkgname=enca
+pkgver=1.15
+pkgrel=1
+pkgdesc="Charset analyser and converter"
+arch=('i686' 'x86_64')
+url="http://cihar.com/software/enca/"
+license=('GPL')
+depends=('recode')
+options=('!docs')
+source=("http://dl.cihar.com/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('fef132969d26e649719eae08297a4a52')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr \
+ --libexecdir=/usr/lib \
+ --mandir=/usr/share/man \
+ --with-librecode=/usr \
+ --enable-external
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+}