aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-04-14 14:40:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-04-14 14:47:01 +0000
commit71462c4a0a21a755c77a98683d99a74a5898edda (patch)
tree00d939c15af82417df467415f20dde7b93220599 /community
parent5b4b0cf8681f025b7f690669d88f2244e3ac0773 (diff)
downloadaports-71462c4a0a21a755c77a98683d99a74a5898edda.tar.bz2
aports-71462c4a0a21a755c77a98683d99a74a5898edda.tar.xz
community/qt5-qtxmlpatters: move from testing
Diffstat (limited to 'community')
-rw-r--r--community/qt5-qtxmlpatterns/APKBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/community/qt5-qtxmlpatterns/APKBUILD b/community/qt5-qtxmlpatterns/APKBUILD
new file mode 100644
index 0000000000..ebcd8f28e6
--- /dev/null
+++ b/community/qt5-qtxmlpatterns/APKBUILD
@@ -0,0 +1,49 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=qt5-qtxmlpatterns
+pkgver=5.5.0
+pkgrel=0
+pkgdesc="Qt5 - QtXmlPatterns component"
+url="http://qt-project.org/"
+arch="all"
+license="LGPLv2 with exceptions or GPLv3 with exceptions"
+depends=""
+depends_dev="qt5-qtbase-dev"
+makedepends="$depends_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/qtxmlpatterns-opensource-src-$_V.tar.xz"
+
+_builddir="$srcdir"/qtxmlpatterns-opensource-src-$_V
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ qmake-qt5 && make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make install INSTALL_ROOT="$pkgdir" || return 1
+}
+
+md5sums="138ab73b2376fcfca92a4bb6ab47e4a4 qtxmlpatterns-opensource-src-5.5.0.tar.xz"
+sha256sums="672882c670c13c5caec199173cdabffd38474d06979d261bdc6e19738e0cef53 qtxmlpatterns-opensource-src-5.5.0.tar.xz"
+sha512sums="793a196831b1862c9f79f4d143938b3f80e6e13ebe0fa7fa3532dbaede376365632864f89cfb819c62c573a51cae4b427934436df209895444b8d4feea09621b qtxmlpatterns-opensource-src-5.5.0.tar.xz"