summaryrefslogtreecommitdiff
path: root/user/libdbusmenu-qt/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/libdbusmenu-qt/APKBUILD')
-rw-r--r--user/libdbusmenu-qt/APKBUILD14
1 files changed, 3 insertions, 11 deletions
diff --git a/user/libdbusmenu-qt/APKBUILD b/user/libdbusmenu-qt/APKBUILD
index b91995d28..a6ed9a0ac 100644
--- a/user/libdbusmenu-qt/APKBUILD
+++ b/user/libdbusmenu-qt/APKBUILD
@@ -17,25 +17,17 @@ subpackages="$pkgname-dev $pkgname-doc"
source="https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_${_realver}.orig.tar.gz"
builddir="$srcdir/$pkgname-$_realver"
-prepare() {
- cd "$builddir"
- default_prepare
- mkdir -p "$builddir"/build
-}
-
build() {
- cd "$builddir"/build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DUSE_QT5=ON \
- "$builddir"
- make
+ -Bbuild
+ make -C build
}
package() {
- cd "$builddir"/build
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" -C build install
}
sha512sums="dfaba59cedd320e6a3b5a9c0a5e13fb9e0952224e39cdd6ee3b32b03d95ac850a533e2a73835a7c0ead93b2283b9c235472bacb84e3d761ebe9e9398345314a9 libdbusmenu-qt_0.9.3+16.04.20160218.orig.tar.gz"