summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/libqtxdg/APKBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/user/libqtxdg/APKBUILD b/user/libqtxdg/APKBUILD
index f7b50bf9f..cc8dee0d7 100644
--- a/user/libqtxdg/APKBUILD
+++ b/user/libqtxdg/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=libqtxdg
-pkgver=3.1.0
+pkgver=3.2.0
pkgrel=0
pkgdesc="Qt5-based library implementing the XDG spec"
url="http://lxqt.org"
@@ -12,7 +12,7 @@ depends_dev=""
makedepends="cmake qt5-qtbase-dev qt5-qtsvg-dev extra-cmake-modules $depends_dev"
install=""
subpackages="$pkgname-dev"
-source="https://github.com/lxde/libqtxdg/releases/download/$pkgver/libqtxdg-$pkgver.tar.xz"
+source="https://github.com/lxqt/libqtxdg/releases/download/$pkgver/libqtxdg-$pkgver.tar.xz"
builddir="$srcdir/libqtxdg-$pkgver"
# tests require X
options="!check"
@@ -22,6 +22,7 @@ build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
+ mkdir -p build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
@@ -31,18 +32,18 @@ build() {
-DCMAKE_C_FLAGS="$CFLAGS" \
-DBUILD_TESTS=True \
-DBUILD_DEV_UTILS=True \
- ${CMAKE_CROSSOPTS}
+ ${CMAKE_CROSSOPTS} ..
make
}
check() {
- cd "$builddir"
+ cd "$builddir"/build
make test
}
package() {
- cd "$builddir"
+ cd "$builddir"/build
make DESTDIR="$pkgdir" install
}
-sha512sums="58c02b804a5fac38e13cfd0ea5b9c5dc547d2f0a4324ac2f8d62d6050164f3f19edf48c5466a227fc3439f76436db4535ae1855dc21c4d92fe086c89267754fd libqtxdg-3.1.0.tar.xz"
+sha512sums="1a52e79e97cd148c9f406402134d6feaa6ccb8d10cfa7c0e2a3fbf728690e193c05e444012b87e38790ce0570d1cf71c6c2cee7105f11d43923040543e0dd143 libqtxdg-3.2.0.tar.xz"