diff options
Diffstat (limited to 'community/qt5-x11extras/APKBUILD')
-rw-r--r-- | community/qt5-x11extras/APKBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/community/qt5-x11extras/APKBUILD b/community/qt5-x11extras/APKBUILD new file mode 100644 index 0000000000..ab0b6aa120 --- /dev/null +++ b/community/qt5-x11extras/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=qt5-x11extras +_pkgname=qtx11extras-opensource-src +pkgver=5.9.3 +_ver=${pkgver/_p/-} +_ver=${_ver/_/-} +_ver=${_ver/beta0/beta} +_ver=${_ver/rc0/rc} +_V=${_ver/rc/RC} +pkgrel=0 +pkgdesc="Provides platform-specific APIs for X11" +url="http://qt-project.org/" +arch="all" +license="GPL3" +makedepends="qt5-qtbase-dev" +subpackages="$pkgname-dev" + +case $pkgver in +*_beta*|*_rc*) _rel=development_releases;; +*) _rel=official_releases;; +esac +source="http://download.qt-project.org/$_rel/qt/${pkgver%.*}/$_ver/submodules/$_pkgname-$_V.tar.xz" + +builddir="$srcdir"/$_pkgname-${_V%-*} + +prepare() { + default_prepare + cd "$builddir" + mkdir -p build +} + +build() { + cd "$builddir"/build + qmake-qt5 .. + make +} + +check() { + cd "$builddir"/build + make check +} + +package() { + cd "$builddir"/build + make INSTALL_ROOT="$pkgdir" install +} + +sha512sums="0d1547e25f5d051daa8b20f54ca146bc5a6ad6fdae2c9b9e90dae574840a350bc3ac82b05ddb93b7a544e689fc06e633e57a40f31475cd118e156fad78e91d6c qtx11extras-opensource-src-5.9.3.tar.xz" |