summaryrefslogtreecommitdiff
path: root/user/gcompris-qt
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-14 10:28:46 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-14 10:28:46 +0000
commitd6a8ba9c4f2c0dc8dfc3a5892b3e447fbf68da42 (patch)
tree20db48faad846c710e2a4c432d732e4773a2e389 /user/gcompris-qt
parentd896c7fcd2ada3cae147f70470c05ef5a0360acb (diff)
downloadpackages-d6a8ba9c4f2c0dc8dfc3a5892b3e447fbf68da42.tar.gz
packages-d6a8ba9c4f2c0dc8dfc3a5892b3e447fbf68da42.tar.bz2
packages-d6a8ba9c4f2c0dc8dfc3a5892b3e447fbf68da42.tar.xz
packages-d6a8ba9c4f2c0dc8dfc3a5892b3e447fbf68da42.zip
user/*: Modernise / fix syntax
Diffstat (limited to 'user/gcompris-qt')
-rw-r--r--user/gcompris-qt/APKBUILD10
1 files changed, 3 insertions, 7 deletions
diff --git a/user/gcompris-qt/APKBUILD b/user/gcompris-qt/APKBUILD
index 9240e9af7..6b53bd372 100644
--- a/user/gcompris-qt/APKBUILD
+++ b/user/gcompris-qt/APKBUILD
@@ -17,9 +17,6 @@ subpackages="$pkgname-doc $pkgname-lang"
source="http://gcompris.net/download/qt/src/gcompris-qt-$pkgver.tar.xz"
build() {
- cd "$builddir"
- mkdir build
- cd build
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
@@ -31,13 +28,12 @@ build() {
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
${CMAKE_CROSSOPTS} \
- ..
- make
+ -Bbuild
+ make -C build
}
package() {
- cd "$builddir"/build
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" -C build install
}
sha512sums="bc4515acc5c58869997e44c0c3c38d2904f34a7a5efede1ee7aefcbd1ae5907fe00b29a3ecf8e5e46396031736d10df64523e280dfffe3bac2df7e34fe9a8eda gcompris-qt-0.91.tar.xz"