# $Id: PKGBUILD 197811 2013-10-30 11:03:28Z allan $ # Maintainer: pkgname=gettext pkgver=0.18.3.1 pkgrel=2 pkgdesc="GNU internationalization library" arch=('i686' 'x86_64') url="http://www.gnu.org/software/gettext/" license=('GPL') groups=('base' 'base-devel') depends=('gcc-libs' 'acl' 'sh' 'glib2' 'libunistring') optdepends=('cvs: for autopoint tool') options=(!docs) install=gettext.install source=(ftp://ftp.gnu.org/pub/gnu/gettext/${pkgname}-${pkgver}.tar.gz{,.sig}) md5sums=('3fc808f7d25487fc72b5759df7419e02' 'SKIP') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr make } check() { cd "${srcdir}/${pkgname}-${pkgver}" make check } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }