summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-06-29 11:59:43 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-06-29 12:00:47 +0000
commit32c573e8d577a74239dde6936bdfb8a98b48e865 (patch)
tree3ad51d108f39519f1deb37d772b97c67db6cd831
parentc1170c3dc5f7e9a553c2188c8d8e8b7dfd55c6ee (diff)
downloadpackages-32c573e8d577a74239dde6936bdfb8a98b48e865.tar.gz
packages-32c573e8d577a74239dde6936bdfb8a98b48e865.tar.bz2
packages-32c573e8d577a74239dde6936bdfb8a98b48e865.tar.xz
packages-32c573e8d577a74239dde6936bdfb8a98b48e865.zip
user/musl-locales: new package courtesy of @alyx
-rw-r--r--user/musl-locales/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/user/musl-locales/APKBUILD b/user/musl-locales/APKBUILD
new file mode 100644
index 000000000..9bbf0c49b
--- /dev/null
+++ b/user/musl-locales/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Alyx <alyx@leuhta.com>
+# Maintainer: Alyx <alyx@leuhta.com>
+pkgname=musl-locales
+pkgver=0.20190626
+pkgrel=0
+pkgdesc="Locale program for musl"
+url="https://gitlab.com/rilian-la-te/musl-locales"
+arch="all"
+options="!check" # No test suite.
+license="MIT"
+depends=""
+makedepends="cmake make gettext-tiny-dev"
+subpackages="$pkgname-lang"
+source="https://distfiles.adelielinux.org/source/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname"
+
+build() {
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ .
+ make
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="f65381b6eec64e69e649dacd3a3f75e74d9236164a1277bd2493afb3cb469049bee026d590a7207413b4d92675f877d1d8d3b16c58840a6e15a81638a2f731f2 musl-locales-0.20190626.tar.gz"