summaryrefslogtreecommitdiff
path: root/x86_64/enca
diff options
context:
space:
mode:
Diffstat (limited to 'x86_64/enca')
-rw-r--r--x86_64/enca/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/x86_64/enca/PKGBUILD b/x86_64/enca/PKGBUILD
new file mode 100644
index 0000000..8dcef5c
--- /dev/null
+++ b/x86_64/enca/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: Filip Dvorak <fila@pruda.com>
+
+pkgname=enca
+pkgver=1.19
+pkgrel=5
+pkgdesc="Charset analyser and converter"
+arch=('x86_64')
+url="https://cihar.com/software/enca/"
+license=('GPL')
+depends=('recode')
+options=('!docs')
+source=("https://dl.cihar.com/${pkgname}/${pkgname}-${pkgver}.tar.xz")
+sha256sums=('3a487eca40b41021e2e4b7a6440b97d822e6532db5464471f572ecf77295e8b8')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ ./configure --prefix=/usr \
+ --libexecdir=/usr/lib \
+ --mandir=/usr/share/man \
+ --with-librecode=/usr \
+ --enable-external
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+
+ make DESTDIR="${pkgdir}" install
+}