aboutsummaryrefslogtreecommitdiffstats
path: root/community/mce-dev/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mce-dev/APKBUILD')
-rw-r--r--community/mce-dev/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/mce-dev/APKBUILD b/community/mce-dev/APKBUILD
new file mode 100644
index 0000000000..ae352ae010
--- /dev/null
+++ b/community/mce-dev/APKBUILD
@@ -0,0 +1,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"