summaryrefslogtreecommitdiff
path: root/system/musl-locales/APKBUILD
blob: fd93aaf47456644fd64284f67fb159a8f9361c07 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: Alyx <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"