PKGBUILDs/core/gettext/PKGBUILD

26 lines
660 B
Bash

# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
pkgname=gettext
pkgver=0.17
pkgrel=4
pkgdesc="GNU internationalization library"
arch=(arm)
url="http://www.gnu.org/software/gettext"
license=('GPL')
groups=('base')
depends=(gcc-libs ncurses 'expat>=1.95' acl)
options=(!libtool)
source=(ftp://ftp.gnu.org/pub/gnu/gettext/gettext-${pkgver}.tar.gz)
md5sums=('58a2bc6d39c0ba57823034d55d65d606')
build() {
cd $srcdir/gettext-$pkgver
./configure --prefix=/usr \
--with-included-libcroco \
--with-included-libxml \
--disable-jave \
--without-emacs || return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
}