aboutsummaryrefslogtreecommitdiffstats
path: root/community/libmlocale/APKBUILD
blob: a53bc7200b21ac4a167da7b72e73a2094f7061f3 (plain)
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
33
34
35
36
37
38
39
40
41
42
43
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libmlocale
pkgver=0.7.4
pkgrel=9
pkgdesc="Nemo libmlocale"
url="https://github.com/sailfishos/libmlocale"
arch="all"
license="LGPL-2.1-only"
depends_dev="
	icu-dev
	"
makedepends="$depends_dev
	bash
	qt5-qtbase-dev
	qt5-qttools-dev
	"
subpackages="$pkgname-dev"
source="https://github.com/sailfishos/libmlocale/archive/$pkgver/libmlocale-$pkgver.tar.gz
	disable-werror.patch
	no-execinfo.patch
	"
options="!check" # No suitable tests

build() {
	QTDIR=/usr/lib/qt5 ./configure \
		--prefix=/usr \
		--sysconfdir=/etc
	make
}

package() {
	INSTALL_ROOT="$pkgdir" make install

	# Remove tests
	rm -rf "$pkgdir"/opt
}

sha512sums="
e45773e6cba4f4dfdfcf5d51f824014cbfc901b9e2ec4f1dcf7780f37cc4fd8d4e7a992eb7b30d22f38961d8f6c4ce3d881318afb44256fd85cfeea6f1ff4fe4  libmlocale-0.7.4.tar.gz
9c0b177d9f8698d0c5733c5bc16b47d114e3d705f134df074b20d1abe5326bdda59a1a21eb9045342899883ba933d566060237b8d14260b0cfef846a533cc3fc  disable-werror.patch
4eb6f4c6b0201f206208c0c311544765fe1de6abbafd77f3f1917d04a504af967896367daf292fe3b002316fc77e2dee3731059682499e1c7b4918a840680875  no-execinfo.patch
"