aboutsummaryrefslogtreecommitdiffstats
path: root/community/mce-dev/APKBUILD
blob: ae352ae01025bd22a1f740619378e258c88ab018 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mce-dev
pkgver=1.28.3
pkgrel=0
pkgdesc="Mers mce-dev"
url="https://git.sailfishos.org/mer-core/mce-dev"
arch="noarch"
license="LGPL-2.1-or-later"
makedepends="qt5-qtbase-dev doxygen"
subpackages="$pkgname-doc"
source="https://git.sailfishos.org/mer-core/mce-dev/-/archive/$pkgver/mce-dev-$pkgver.tar.gz"
options="!check" # No test suite available

build() {
	make
	make doc
}

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

doc() {
	install -dm755 "$subpkgdir"/usr/share/doc/$pkgname
	mv "$builddir"/doc/html "$subpkgdir"/usr/share/doc/$pkgname/
}

sha512sums="a244567d905713d9065fc95ce5e91a5b6895516a944c42acbd2df0dd428e74343f8ba750f4e4388798b7bf924d7d87db2352e065942e7abb45214e23d2dfb67e  mce-dev-1.28.3.tar.gz"