summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-04-28 14:25:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-04-28 14:43:59 +0000
commit03eb6600bcfa5d0a03ef79d7822924c091066325 (patch)
treeb43e96a2b2f46a4e89bd416c9e595b0a83c0c747
parent6bf83c8f43b7b670ab26bc146a0ae0ce3cc32acc (diff)
downloadaports-03eb6600bcfa5d0a03ef79d7822924c091066325.tar.bz2
aports-03eb6600bcfa5d0a03ef79d7822924c091066325.tar.xz
testing/qt5-qtsvg: upgrade to 5.3.0_beta0
-rw-r--r--testing/qt5-qtsvg/APKBUILD20
1 files changed, 14 insertions, 6 deletions
diff --git a/testing/qt5-qtsvg/APKBUILD b/testing/qt5-qtsvg/APKBUILD
index 281102fed..eb4e4856b 100644
--- a/testing/qt5-qtsvg/APKBUILD
+++ b/testing/qt5-qtsvg/APKBUILD
@@ -1,7 +1,7 @@
# Contributor:
# Maintainer:
pkgname=qt5-qtsvg
-pkgver=5.2.1
+pkgver=5.3.0_beta0
pkgrel=0
pkgdesc="Qt5 - Support for rendering and displaying SVG"
url="http://qt-project.org/"
@@ -12,9 +12,17 @@ depends_dev="qt5-qtbase-dev"
makedepends="$depends_dev zlib-dev"
install=""
subpackages="$pkgname-dev"
-source="http://download.qt-project.org/official_releases/qt/${pkgver%.*}/$pkgver/submodules/qtsvg-opensource-src-$pkgver.tar.xz"
-_builddir="$srcdir"/qtsvg-opensource-src-$pkgver
+_ver=${pkgver/_/-}
+_ver=${_ver/beta0/beta}
+case $pkgver in
+*_beta*) _rel=development_releases;;
+*) _rel=official_releases;;
+esac
+
+source="http://download.qt-project.org/$_rel/qt/${pkgver%.*}/$_ver/submodules/qtsvg-opensource-src-$_ver.tar.xz"
+
+_builddir="$srcdir"/qtsvg-opensource-src-$_ver
prepare() {
local i
cd "$_builddir"
@@ -36,6 +44,6 @@ package() {
rm "$pkgdir"/usr/lib/*.la || return 1
}
-md5sums="3f5487fe2bd5024f18f63a8d0eb4294d qtsvg-opensource-src-5.2.1.tar.xz"
-sha256sums="788f69557ff6d28073d6ef2b3300b42b987fba1d122f7884ba0269023cab44ef qtsvg-opensource-src-5.2.1.tar.xz"
-sha512sums="458ed10564214aa2304caf61d8abf957f98a6a8972565ff92805096969b0fe87d5d44c41dbea69967d464af927a611ef1f8619511c65c7f9074ca136b9d1f544 qtsvg-opensource-src-5.2.1.tar.xz"
+md5sums="1905a43dea03d08a33918c2d7e5aa342 qtsvg-opensource-src-5.3.0-beta.tar.xz"
+sha256sums="348c2cb1c3d4841928cee4cd6c637ac214d56dc6d19c66ae3cce7fb5d27fde33 qtsvg-opensource-src-5.3.0-beta.tar.xz"
+sha512sums="bb3367678386b55dd165288b314ef2317f541567039226d6443b485ff4edf3d245cba122cd707f3732510c10088b5582f755a8943c669278d4c14d294086e9ca qtsvg-opensource-src-5.3.0-beta.tar.xz"