PKGBUILDs/extra/enca/PKGBUILD
2009-10-09 21:23:22 -05:00

27 lines
772 B
Bash

# $Id: PKGBUILD 54287 2009-10-07 21:02:26Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Filip Dvorak <fila@pruda.com>
pkgname=enca
pkgver=1.11
pkgrel=1
pkgdesc="Charset analyser and converter"
arch=('i686' 'x86_64')
url="http://freshmeat.net/projects/enca/"
options=('!libtool')
license=('GPL')
depends=('recode' 'sh')
makedepends=('perl')
source=(http://dl.cihar.com/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('39aeed22b0255d689231f8dece3dbd66')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr \
--libexecdir=/usr/lib \
--mandir=/usr/share/man \
--with-librecode=/usr \
--enable-external
make || return 1
make DESTDIR=${pkgdir}/ install
}