summaryrefslogtreecommitdiff
path: root/user/libqtxdg/APKBUILD
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-06-06 12:03:16 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-06-06 12:03:16 -0500
commitdd632cfd1b518e44558e83f4162f1204a3118e9a (patch)
tree52810c13c4e804912b05a65bc020a761a5cc6e41 /user/libqtxdg/APKBUILD
parent817b35af77ac7b4ea7493ed7c78bc982a24ce543 (diff)
downloadpackages-dd632cfd1b518e44558e83f4162f1204a3118e9a.tar.gz
packages-dd632cfd1b518e44558e83f4162f1204a3118e9a.tar.bz2
packages-dd632cfd1b518e44558e83f4162f1204a3118e9a.tar.xz
packages-dd632cfd1b518e44558e83f4162f1204a3118e9a.zip
user/libqtxdg: bump to 3.2.0
Diffstat (limited to 'user/libqtxdg/APKBUILD')
-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"