summaryrefslogtreecommitdiff
path: root/user/qt5-qtx11extras/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-27 21:40:23 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-27 21:40:23 -0500
commit3e246c8fd521e9c08b1cc8e152f7bd357c19a941 (patch)
treeba57df47a856ad916a64871b1cb300ee33cdaecd /user/qt5-qtx11extras/APKBUILD
parent3ef61346ef497bb726f4019498d44d71807f0640 (diff)
downloadpackages-3e246c8fd521e9c08b1cc8e152f7bd357c19a941.tar.gz
packages-3e246c8fd521e9c08b1cc8e152f7bd357c19a941.tar.bz2
packages-3e246c8fd521e9c08b1cc8e152f7bd357c19a941.tar.xz
packages-3e246c8fd521e9c08b1cc8e152f7bd357c19a941.zip
user/qt5-qtx11extras: new package
Diffstat (limited to 'user/qt5-qtx11extras/APKBUILD')
-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"