summaryrefslogtreecommitdiff
path: root/system/gettext-tiny/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-14 23:54:50 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-14 23:54:50 -0500
commitbd49ebf0e543e68d231fc9527fab4cea51bdf167 (patch)
tree481c1ef0774c89245ab2ca33f0e004ddc520eafc /system/gettext-tiny/APKBUILD
parent4164d8746a2c0f7b74eee372eea20726fcfd9335 (diff)
downloadpackages-bd49ebf0e543e68d231fc9527fab4cea51bdf167.tar.gz
packages-bd49ebf0e543e68d231fc9527fab4cea51bdf167.tar.bz2
packages-bd49ebf0e543e68d231fc9527fab4cea51bdf167.tar.xz
packages-bd49ebf0e543e68d231fc9527fab4cea51bdf167.zip
system/gettext-tiny: new package
Diffstat (limited to 'system/gettext-tiny/APKBUILD')
-rw-r--r--system/gettext-tiny/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/system/gettext-tiny/APKBUILD b/system/gettext-tiny/APKBUILD
new file mode 100644
index 000000000..38e2cc972
--- /dev/null
+++ b/system/gettext-tiny/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=gettext-tiny
+pkgver=0.2.0
+pkgrel=0
+pkgdesc="An internationalisation and localisation system"
+url="https://github.com/sabotage-linux/gettext-tiny"
+arch="all"
+options="!check" # No test suite.
+license="MIT"
+depends="!gettext"
+depends_dev="!gettext-dev"
+install=""
+subpackages="$pkgname-dev"
+source="http://ftp.barfooze.de/pub/sabotage/tarballs/gettext-tiny-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ make LIBINTL=MUSL
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" prefix=/usr install
+}
+
+sha512sums="4d8d9d02042adf023bfd2502fa7598f9b16ef2e03dd3d39fd3ba36f1be1d884d1b891600d9263e11948e3979909ea810a1d1b8cefc7e522feda8b422a1107a2e gettext-tiny-0.2.0.tar.xz"