summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/qt5-qtx11extras/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/qt5-qtx11extras/APKBUILD b/user/qt5-qtx11extras/APKBUILD
new file mode 100644
index 000000000..c158524c0
--- /dev/null
+++ b/user/qt5-qtx11extras/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=qt5-qtx11extras
+pkgver=5.9.1
+pkgrel=0
+pkgdesc="Qt5 - Extra libraries for X11 support"
+url="http://qt-project.org/"
+arch="all"
+license="LGPLv2 with exceptions or GPLv3 with exceptions"
+options="!check"
+depends=""
+makedepends="qt5-qtbase-dev"
+install=""
+subpackages="$pkgname-dev"
+
+_ver=${pkgver/_/-}
+_ver=${_ver/beta0/beta}
+_ver=${_ver/rc0/rc}
+_V=${_ver/rc/RC}
+case $pkgver in
+*_beta*|*_rc*) _rel=development_releases;;
+*) _rel=official_releases;;
+esac
+
+source="http://download.qt-project.org/$_rel/qt/${pkgver%.*}/$_ver/submodules/qtx11extras-opensource-src-$_V.tar.xz"
+
+builddir="$srcdir"/qtx11extras-opensource-src-$_V
+build() {
+ cd "$builddir"
+ qmake-qt5 && make
+}
+
+package() {
+ cd "$builddir"
+ make install INSTALL_ROOT="$pkgdir"
+}
+
+sha512sums="71b49d4c313e69d47b4e8652913005afe178caaee30f123016ed87ef4d798c347fd15135895a3e434ca32a80aee82a1b2d7da8278ceef92bdee9c35b7cdce84e qtx11extras-opensource-src-5.9.1.tar.xz"