diff options
author | Bruno Cichon <ebrasca@librepanther.com> | 2018-10-01 01:51:03 +0200 |
---|---|---|
committer | Bruno Cichon <ebrasca@librepanther.com> | 2018-10-01 01:51:03 +0200 |
commit | 56f955aca6231693fe797de4793f77ed58ab116e (patch) | |
tree | 17daeabce98174f288bab94b47961dc9e9931e66 /libre-testing/gettext/PKGBUILD | |
parent | 75ff40baa049bae7e9270d20ef86a88b733006ab (diff) | |
download | abslibre-56f955aca6231693fe797de4793f77ed58ab116e.tar.gz abslibre-56f955aca6231693fe797de4793f77ed58ab116e.tar.bz2 abslibre-56f955aca6231693fe797de4793f77ed58ab116e.zip |
Add some base packages for ppc64le
Diffstat (limited to 'libre-testing/gettext/PKGBUILD')
-rw-r--r-- | libre-testing/gettext/PKGBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/libre-testing/gettext/PKGBUILD b/libre-testing/gettext/PKGBUILD new file mode 100644 index 000000000..dedc2f11b --- /dev/null +++ b/libre-testing/gettext/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer: + +pkgname=gettext +pkgver=0.19.8.1 +pkgrel=2 +pkgdesc="GNU internationalization library" +url="https://www.gnu.org/software/gettext/" +arch=(x86_64 ppc64le) +license=(GPL) +groups=(base base-devel) +depends=(gcc-libs acl sh glib2 libunistring libcroco) +makedepends=(gettext emacs git) +optdepends=('git: for autopoint infrastructure updates') +options=(!docs) +source=(https://ftp.gnu.org/pub/gnu/gettext/$pkgname-$pkgver.tar.gz{,.sig} + gettext-0.19.8-its-segfault.patch) +sha256sums=('ff942af0e438ced4a8b0ea4b0b6e0d6d657157c5e2364de57baa279c1c125c43' + 'SKIP' + '0e3b19ea94e956a6a484ca4c4ecea32a01a83f10a413e586183de464c51f158d') +validpgpkeys=('462225C3B46F34879FC8496CD605848ED7E69871') # Daiki Ueno + +prepare() { + cd $pkgname-$pkgver + patch -Np1 -i ../gettext-0.19.8-its-segfault.patch +} + +build() { + cd $pkgname-$pkgver + ./configure \ + --prefix=/usr \ + --enable-csharp \ + --enable-nls \ + --with-xz \ + --without-included-gettext + + sed -e 's/ -shared / -Wl,-O1,--as-needed\0/g' \ + -i gettext-{tools,runtime,runtime/libasprintf}/libtool + + make +} + +check() { + cd $pkgname-$pkgver + make check +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} |