base: gettext: ajoute le PKGBUILD
[glg-lfs.git] / base / gettext / PKGBUILD
blob171fe5150d13288638a34342371474e4f5d2179a
1 pkgname=gettext
2 pkgver=0.18.2
3 pkgrel=1
4 arch=('x86_64')
5 source=(http://ftp.gnu.org/gnu/gettext/gettext-${pkgver}.tar.gz)
6 md5sums=('0c86e5af70c195ab8bd651d17d783928')
8 build() {
9         cd ${srcdir}/${pkgname}-${pkgver}
10         ./configure --prefix=/usr \
11                     --docdir=/usr/share/doc/gettext-${pkgver}
12         make
15 package() {
16         cd ${srcdir}/${pkgname}-${pkgver}
17         make DESTDIR=${pkgdir} install