64 lines
1.5 KiB
Bash
64 lines
1.5 KiB
Bash
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
|
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
pkgname=gettext
|
|
pkgver=0.23.1
|
|
pkgrel=2
|
|
pkgdesc="GNU internationalization library"
|
|
url="https://www.gnu.org/software/gettext/"
|
|
arch=(x86_64 powerpc64le powerpc64 powerpc espresso riscv64)
|
|
license=(
|
|
GFDL-1.2-only
|
|
GPL-2.0-only
|
|
GPL-2.0-or-later
|
|
LGPL-2.0-only
|
|
)
|
|
depends=(
|
|
acl
|
|
attr
|
|
gcc-libs
|
|
gnulib-l10n
|
|
libunistring
|
|
libxml2
|
|
ncurses
|
|
sh
|
|
)
|
|
makedepends=(
|
|
emacs
|
|
)
|
|
optdepends=('git: for autopoint infrastructure updates')
|
|
options=(!docs)
|
|
source=(
|
|
https://ftp.gnu.org/pub/gnu/gettext/$pkgname-$pkgver.tar.gz{,.sig}
|
|
)
|
|
b2sums=('c5c5b857b945aef24be45e855d0bfdeb717135eb4a3d1ecc48db2df4c31e32b20f6c5f9730a11c36b8e8f3246073751eeaef1f6a97a066ee2c324217426e52c4'
|
|
'SKIP')
|
|
validpgpkeys=('462225C3B46F34879FC8496CD605848ED7E69871' # Daiki Ueno
|
|
'68D94D8AAEEAD48AE7DC5B904F494A942E4616C2'
|
|
'9001B85AF9E1B83DF1BDA942F5BE8B267C6A406D') # Bruno Haible (Open Source Development)
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libexecdir=/usr/lib \
|
|
--enable-csharp \
|
|
--enable-nls \
|
|
--with-xz \
|
|
--without-included-gettext \
|
|
--without-included-libunistring
|
|
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
|
|
}
|