summaryrefslogtreecommitdiff
path: root/system/musl-locales/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'system/musl-locales/APKBUILD')
-rw-r--r--system/musl-locales/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/system/musl-locales/APKBUILD b/system/musl-locales/APKBUILD
new file mode 100644
index 000000000..ca1f7b228
--- /dev/null
+++ b/system/musl-locales/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Alyx Wolcott <alyx@leuhta.com>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=musl-locales
+pkgver=0.1.0
+pkgrel=0
+pkgdesc="Locale program for musl"
+url="https://git.adelielinux.org/adelie/musl-locales/-/wikis/home"
+arch="all"
+options="!check" # No test suite.
+license="LGPL-3.0-only"
+depends=""
+makedepends="cmake gettext-tiny-dev"
+subpackages="$pkgname-lang"
+source="https://git.adelielinux.org/adelie/musl-locales/-/archive/$pkgver/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ .
+ make
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+lang() {
+ license="MIT"
+ default_lang
+}
+
+sha512sums="4c7ae748f70d02195d221ea9b37e0f033e15c9364b797313727303830fb1d848693facb5267a1d7f354508383d72817e3322f001d86842fa716cecf6ef95c7ff musl-locales-0.1.0.tar.bz2"