pkgname=gettext
pkgver=0.22.4
pkgrel=1
arch=('armv7h' 'aarch64')
license=('unknown')
source=("$pkgname-$pkgver.tar.xz")
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/gettext-0.22.4
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
chmod -v 0755 "$pkgdir"/usr/lib/preloadable_libintl.so
}
sha256sums=('29217f1816ee2e777fa9a01f9956a14139c0c23cc1b20368f06b2888e8a34116')