summaryrefslogtreecommitdiff
path: root/system/musl-locales/APKBUILD
blob: f537430d07aa6c31e9c043d0f9f7b4478b4306fe (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: Alyx <alyx@leuhta.com>
pkgname=musl-locales
pkgver=0.20200319
pkgrel=0
pkgdesc="Locale program for musl"
url="https://gitlab.com/rilian-la-te/musl-locales"
arch="all"
options="!check"  # No test suite.
license="LGPL-3.0-only"
depends=""
makedepends="cmake make gettext-tiny-dev"
subpackages="$pkgname-lang"
source="https://distfiles.adelielinux.org/source/$pkgname-$pkgver.tar.xz"

build() {
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		.
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

lang() {
	license="MIT"
	default_lang
}

sha512sums="921c5a4dfb45ac12b1eaf284986237bd95420a58705702d0541a46fa2480ff97cd3ac929661108c67304e4e1bfe1efed7bf8edd535b7260d7eb69d72aa294e45  musl-locales-0.20200319.tar.xz"