aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libmlocale/APKBUILD
blob: 55d2b28a2622fbce352fc68a0e03526928414f80 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libmlocale
pkgver=0.7.2
pkgrel=0
pkgdesc="Nemo libmlocale"
url="https://git.sailfishos.org/mer-core/libmlocale"
arch="all"
license="LGPL-2.1-only"
depends_dev="libexecinfo-dev icu-dev"
makedepends="$depends_dev qt5-qtbase-dev qt5-qttools-dev bash"
subpackages="$pkgname-dev"
source="https://git.sailfishos.org/mer-core/libmlocale/-/archive/$pkgver/libmlocale-$pkgver.tar.gz"
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="6903cde728e22c77c22cbde5e4ef44110bbd3d620a78bf177c090eac3d784f14806d67599f28bf214d480fc67e6ab6c6d4c5a9bdeeb839f7d61f69c68ad4b97e  libmlocale-0.7.2.tar.gz"