aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-04-28 14:43:09 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-04-28 14:44:00 +0000
commit34e13644b12090adbb0de8a36c50c520e152cc1b (patch)
tree9413e9fdb93bb1b94ac53e516bafd8707c71bdae /testing
parent55a5f8cd7baf239df8e267fea300d8e0c07437fe (diff)
downloadaports-34e13644b12090adbb0de8a36c50c520e152cc1b.tar.bz2
aports-34e13644b12090adbb0de8a36c50c520e152cc1b.tar.xz
testing/qt5-qttranslations: upgrade to 5.3.0_beta0
Diffstat (limited to 'testing')
-rw-r--r--testing/qt5-qttranslations/APKBUILD20
1 files changed, 14 insertions, 6 deletions
diff --git a/testing/qt5-qttranslations/APKBUILD b/testing/qt5-qttranslations/APKBUILD
index 41647dcf5d..0621e9bb43 100644
--- a/testing/qt5-qttranslations/APKBUILD
+++ b/testing/qt5-qttranslations/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=qt5-qttranslations
-pkgver=5.2.1
+pkgver=5.3.0_beta0
pkgrel=0
pkgdesc="Qt5 - QtTranslations module"
url="http://qt-project.org/"
@@ -11,9 +11,17 @@ depends_dev=""
makedepends="$depends_dev qt5-qttools-dev"
install=""
subpackages=""
-source="http://download.qt-project.org/official_releases/qt/${pkgver%.*}/$pkgver/submodules/qttranslations-opensource-src-$pkgver.tar.xz"
-_builddir="$srcdir"/qttranslations-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/qttranslations-opensource-src-$_ver.tar.xz"
+
+_builddir="$srcdir"/qttranslations-opensource-src-$_ver
prepare() {
local i
cd "$_builddir"
@@ -34,6 +42,6 @@ package() {
make install INSTALL_ROOT="$pkgdir" || return 1
}
-md5sums="4adcd85471b39e1680b035f15ec9910b qttranslations-opensource-src-5.2.1.tar.xz"
-sha256sums="9a93fddb9c98bd5c85c9644603f4326f4cc991004f40df5432dc811a6b59b4e6 qttranslations-opensource-src-5.2.1.tar.xz"
-sha512sums="65cc9c9350a338b870143bfef6a3801c63b543fe103be3e44a8eb9bfa5c0bceebee1c6bd2705b41e982b095ecfded8f82a4f2952631180a65a90d8ee5674dbb1 qttranslations-opensource-src-5.2.1.tar.xz"
+md5sums="bf28303e7355556610b2dbc1b171da37 qttranslations-opensource-src-5.3.0-beta.tar.xz"
+sha256sums="10defa52ea892aca78d52910b5748948c3572243e15bff0ea39a491a98bfe747 qttranslations-opensource-src-5.3.0-beta.tar.xz"
+sha512sums="e4b5b82b95d9f713327a2c9f241b2676d0b4afa6c20d52bfa97bed09a5af363a03e2bbfd87d67b2332a0264529a0bfc4573dd8e9b93ce3899bedf9cac2820d7b qttranslations-opensource-src-5.3.0-beta.tar.xz"