summaryrefslogblamecommitdiff
path: root/user/qt5-qtx11extras/APKBUILD
blob: 1cf3a08fa0e7dcd199b7b745e33de82e63a155c7 (plain) (tree)
1
2
3
4


                                                  
            
































                                                                                                                    
                                                                                                                                                                                      
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=qt5-qtx11extras
pkgver=5.9.3
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="0d1547e25f5d051daa8b20f54ca146bc5a6ad6fdae2c9b9e90dae574840a350bc3ac82b05ddb93b7a544e689fc06e633e57a40f31475cd118e156fad78e91d6c  qtx11extras-opensource-src-5.9.3.tar.xz"