summaryrefslogtreecommitdiff
path: root/user/libdbusmenu-qt/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-27 06:50:34 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-27 06:50:34 -0600
commitc7c0916fad338d4743257d0f05e357e9c0f1f670 (patch)
tree5a4b8d5ba4cd7a6b6a36aa22aa58bec657dae485 /user/libdbusmenu-qt/APKBUILD
parent092ad87bd24b84b2539294bb00d7dde7c9d2ce23 (diff)
downloadpackages-c7c0916fad338d4743257d0f05e357e9c0f1f670.tar.gz
packages-c7c0916fad338d4743257d0f05e357e9c0f1f670.tar.bz2
packages-c7c0916fad338d4743257d0f05e357e9c0f1f670.tar.xz
packages-c7c0916fad338d4743257d0f05e357e9c0f1f670.zip
user/various libraries: modernise / fix syntax
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"