# Contributor: TBK # Maintainer: TBK pkgname=gettext-tiny pkgver=0.3.2 pkgrel=0 pkgdesc="Tiny Internationalized Message Handling Library and tools" url="https://github.com/sabotage-linux/gettext-tiny" arch="all" license="MIT" options="!check" # No test suite provides="gettext" depends_dev="musl-libintl" subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/sabotage-linux/gettext-tiny/archive/v$pkgver.tar.gz line-length.patch respect-cflags.patch flip-macro-logic.patch " build() { make LIBINTL=MUSL prefix=/usr } package() { make LIBINTL=MUSL prefix=/usr DESTDIR="$pkgdir" install } sha512sums="0ed85599c8dc4114764b8eeed1e35cde97f11185c3f689e377d020758cc010ba4402febb84dba4cdc78e94fa2cd65614dafade8708ea078db5b2921925c36e78 gettext-tiny-0.3.2.tar.gz 0a26a8481bffe2ce8c73f7f500963aea9db8379fb87849142d8efabf1656604b22f6ad345483256f14c388466f2f44e5924b9f65d88f26867a753a96d1529270 line-length.patch b4e7db4e415f6bc31f2214f2044506ad18ea0bd3cae4200d93bbd34aa493c7478a7f953d0a7e08f29f0fd5a5d7b7cbfa2bcfd5692c37e423706a1c193239bf1d respect-cflags.patch cd4cfc8cc6ea998f1e33ef666e3b9c3de3f3253994bccc942b177773c94f785e3892cb7d5f34bec1102dc7558236c07c5eac90e15d755e12ee06836336373526 flip-macro-logic.patch"