aboutsummaryrefslogtreecommitdiffstats
path: root/community/mapplauncherd/APKBUILD
blob: 2bc639e8f2c984b1cfc51279c45f30356bc40e06 (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
33
34
35
36
37
38
39
40
41
42
43
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mapplauncherd
pkgver=4.2.3
pkgrel=0
pkgdesc="A daemon that helps to launch applications faster"
url="https://git.sailfishos.org/mer-core/mapplauncherd"
# armhf blocked by extra-cmake-modules
arch="all !armhf"
license="LGPL-2.1-only"
depends_dev="
	dbus-dev
	elogind-dev
	glib-dev
	libcap-dev
	"
makedepends="$depends_dev
	extra-cmake-modules
	doxygen
	"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/sailfishos/mapplauncherd/archive/$pkgver/mapplauncherd-$pkgver.tar.gz
	0001-fix-build.patch
	"
options="!check" # No tests

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DINSTALL_SYSTEMD_UNITS=OFF
	cmake --build build
	cmake --build build --target doc
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
d06eca56923f4901f4a0c6055a282d288c79cc4b47497f81cc2af7f7f5a533690a2ddd8332ce17da999b1acec54b17d133354e4de91dfe440a06fbd66a2e5c81  mapplauncherd-4.2.3.tar.gz
87b6315de195fa6a416fa293a4db2f0490ec56113609a8a55d79d2c7f1609c30e2226e69b457ae3c24b0fdde286cf7a16c60c7f6d58e9be774c767b6d43a7cce  0001-fix-build.patch
"