aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qt5-qtimageformats/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-04-28 11:09:13 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-04-28 14:43:59 +0000
commit7af69945699c1d4b2493c13836d4543307fff8bc (patch)
treef93ef8b3fa9ddb1f26018e6c7d3bf01dbb094ccc /testing/qt5-qtimageformats/APKBUILD
parent7a2739ca1fa66dfc1a4e9cc247d12290d9a4bb96 (diff)
downloadaports-7af69945699c1d4b2493c13836d4543307fff8bc.tar.gz
aports-7af69945699c1d4b2493c13836d4543307fff8bc.tar.bz2
aports-7af69945699c1d4b2493c13836d4543307fff8bc.tar.xz
testing/qt5-qtimageformats: upgrade to 5.3.0_beta0
Diffstat (limited to 'testing/qt5-qtimageformats/APKBUILD')
-rw-r--r--testing/qt5-qtimageformats/APKBUILD18
1 files changed, 12 insertions, 6 deletions
diff --git a/testing/qt5-qtimageformats/APKBUILD b/testing/qt5-qtimageformats/APKBUILD
index 3b29ec1cbc..f1a5b2cf89 100644
--- a/testing/qt5-qtimageformats/APKBUILD
+++ b/testing/qt5-qtimageformats/APKBUILD
@@ -1,6 +1,8 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=qt5-qtimageformats
-pkgver=5.2.1
+pkgver=5.3.0_beta0
+_ver=${pkgver/_/-}
+_ver=${_ver/beta0/beta}
pkgrel=0
pkgdesc="Qt5 - QtImageFormats component"
url="http://qt-project.org/"
@@ -11,9 +13,13 @@ depends_dev=""
makedepends="$depends_dev qt5-qtbase-dev libmng-dev tiff-dev"
install=""
subpackages=""
-source="http://download.qt-project.org/official_releases/qt/${pkgver%.*}/$pkgver/submodules/qtimageformats-opensource-src-$pkgver.tar.xz"
+case $pkgver in
+*_beta*) _rel=development_releases;;
+*) _rel=official_releases;;
+esac
+source="http://download.qt-project.org/$_rel/qt/${pkgver%.*}/$_ver/submodules/qtimageformats-opensource-src-$_ver.tar.xz"
-_builddir="$srcdir"/qtimageformats-opensource-src-$pkgver
+_builddir="$srcdir"/qtimageformats-opensource-src-$_ver
prepare() {
local i
cd "$_builddir"
@@ -34,6 +40,6 @@ package() {
make install INSTALL_ROOT="$pkgdir"
}
-md5sums="9b88aa6f3888c7c7f5253c147ae4bf8f qtimageformats-opensource-src-5.2.1.tar.xz"
-sha256sums="a6a0454769566fec1757fb09b1f33c9fc70d4016acbb04ebc6e493ddedfef124 qtimageformats-opensource-src-5.2.1.tar.xz"
-sha512sums="4472077f8bd508ff77b0473ee63bfc2776060f729a40e5615db2b7aec6b44a2f249fe11173280f9bf0aa80567cffa164d097dd6b296ac4bdf4bdcc2cbf47c09f qtimageformats-opensource-src-5.2.1.tar.xz"
+md5sums="05fdb2fb3b989edb7856a6a917a2c1f6 qtimageformats-opensource-src-5.3.0-beta.tar.xz"
+sha256sums="0e336b51d9c980a5c13d9542961480e89f9d25073e9e41026cdab4294ed7aee0 qtimageformats-opensource-src-5.3.0-beta.tar.xz"
+sha512sums="e6e81086cbe5f8559ed7ac1a34721c3d45b866238a1089dbb31bbc91299782300b0b2769da839397d3e34c844de9d52ee8b368d48c2c9f53a8ce2103a77b1d75 qtimageformats-opensource-src-5.3.0-beta.tar.xz"