core/gettext/PKGBUILD
2018-01-18 21:54:33 +01:00

36 lines
814 B
Bash

pkgname=gettext
pkgver=0.19.8.1
pkgrel=3
pkgdesc="GNU internationalization library"
arch=('x86_64')
url="http://www.gnu.org/software/gettext"
license=('GPL')
groups=('base')
depends=('acl' 'gcc-libs' 'glib2' 'libcroco' 'sh' 'pcre' 'ncurses')
optdepends=('git: for autopoint infrastructure updates')
options=(!docs)
install=gettext.install
source=(ftp://ftp.gnu.org/pub/gnu/gettext/${pkgname}-${pkgver}.tar.gz{,.sig})
validpgpkeys=('462225C3B46F34879FC8496CD605848ED7E69871') # Daiki Ueno
md5sums=('97e034cf8ce5ba73a28ff6c3c0638092'
'SKIP')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --enable-csharp
make
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
make check || true
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}