aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qt5-qtdeclarative/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-04-28 11:04:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-04-28 14:43:59 +0000
commitbfc83bd1b1caacbaef849c7f13b84c939774692c (patch)
treed54138478fed64d47ae5baaf41156c495cf28123 /testing/qt5-qtdeclarative/APKBUILD
parent31fbea4943a5f2ac294ef38e378c129d4eaf7ff7 (diff)
downloadaports-bfc83bd1b1caacbaef849c7f13b84c939774692c.tar.gz
aports-bfc83bd1b1caacbaef849c7f13b84c939774692c.tar.bz2
aports-bfc83bd1b1caacbaef849c7f13b84c939774692c.tar.xz
testing/qt5-qtdeclarative: upgrade to 5.3.0_beta0
Diffstat (limited to 'testing/qt5-qtdeclarative/APKBUILD')
-rw-r--r--testing/qt5-qtdeclarative/APKBUILD19
1 files changed, 13 insertions, 6 deletions
diff --git a/testing/qt5-qtdeclarative/APKBUILD b/testing/qt5-qtdeclarative/APKBUILD
index b409e6e7c2..2aec77e3f8 100644
--- a/testing/qt5-qtdeclarative/APKBUILD
+++ b/testing/qt5-qtdeclarative/APKBUILD
@@ -1,6 +1,8 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=qt5-qtdeclarative
-pkgver=5.2.1
+pkgver=5.3.0_beta0
+_ver=${pkgver/_/-}
+_ver=${_ver/beta0/beta}
pkgrel=0
pkgdesc="Qt5 - QtDeclarative component"
url="http://qt-project.org/"
@@ -11,9 +13,14 @@ depends_dev=""
makedepends="$depends_dev qt5-qtbase-dev"
install=""
subpackages="$pkgname-dev"
-source="http://download.qt-project.org/official_releases/qt/${pkgver%.*}/$pkgver/submodules/qtdeclarative-opensource-src-$pkgver.tar.xz"
-_builddir="$srcdir"/qtdeclarative-opensource-src-$pkgver
+case $pkgver in
+*_beta*) _rel=development_releases;;
+*) _rel=official_releases;;
+esac
+source="http://download.qt-project.org/$_rel/qt/${pkgver%.*}/$_ver/submodules/qtdeclarative-opensource-src-$_ver.tar.xz"
+
+_builddir="$srcdir"/qtdeclarative-opensource-src-$_ver
prepare() {
local i
cd "$_builddir"
@@ -35,6 +42,6 @@ package() {
rm "$pkgdir"/usr/lib/*.la || return 1
}
-md5sums="a23fba03a4b48f36fe8b51d326d08acc qtdeclarative-opensource-src-5.2.1.tar.xz"
-sha256sums="7e32b8d6e1d64ca4bdfa92d15f9b4217a1b24239ef40e8826eeccbe918866690 qtdeclarative-opensource-src-5.2.1.tar.xz"
-sha512sums="ca7bf1b66516158267216c3a3e68abf9e1b063e3eb397b92fa48aecc1c4031397ad22066a4e91c7d0c32ef3ee309d5c3ac77dacdf9a10eca1c1cbd3bf819db42 qtdeclarative-opensource-src-5.2.1.tar.xz"
+md5sums="9be87f81a73e594de270d692c811148a qtdeclarative-opensource-src-5.3.0-beta.tar.xz"
+sha256sums="8a9b57a5703141711514e1fa42c6317f7d2ed1a09f4144fd7bb46b5788c6237d qtdeclarative-opensource-src-5.3.0-beta.tar.xz"
+sha512sums="6779d74ed385cc8d86053d6add6632bf987b1ef7f6c6a2b43b65bb8085b825f7cd1364ce95adb3dfc60aba46ccf042c9231f40514d146174524ba34e92d617a1 qtdeclarative-opensource-src-5.3.0-beta.tar.xz"