aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gettext-tiny/APKBUILD
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2020-04-06 08:55:33 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-04-14 16:33:50 +0000
commit21a0cfd664ae1b0066b1543e3b140665a49ffc42 (patch)
treeca6580b46b1fff62ec1228fbd5aa07af54e59a3e /testing/gettext-tiny/APKBUILD
parent214d886327c2da9d8e202951c80dd10d3dcc9dce (diff)
downloadaports-21a0cfd664ae1b0066b1543e3b140665a49ffc42.tar.gz
aports-21a0cfd664ae1b0066b1543e3b140665a49ffc42.tar.bz2
aports-21a0cfd664ae1b0066b1543e3b140665a49ffc42.tar.xz
testing/gettext-tiny: new aport
Patches from adelie.
Diffstat (limited to 'testing/gettext-tiny/APKBUILD')
-rw-r--r--testing/gettext-tiny/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/gettext-tiny/APKBUILD b/testing/gettext-tiny/APKBUILD
new file mode 100644
index 0000000000..946e31b35e
--- /dev/null
+++ b/testing/gettext-tiny/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: TBK <alpine@jjtc.eu>
+# Maintainer: TBK <alpine@jjtc.eu>
+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"