aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qt5-qttranslations
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-10-09 18:43:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-09 18:43:10 +0000
commitbb302967564af6f7b6ecb598c197050bca4916fa (patch)
treeecf20468f4720acfac68399a26649f464544d9fe /testing/qt5-qttranslations
parent0a9d826bc928f75d52e7c82d748b426253782bc4 (diff)
downloadaports-bb302967564af6f7b6ecb598c197050bca4916fa.tar.bz2
aports-bb302967564af6f7b6ecb598c197050bca4916fa.tar.xz
testing/qt5-qttranslations: new aport
Qt5 - QtTranslations module http://qt-project.org/
Diffstat (limited to 'testing/qt5-qttranslations')
-rw-r--r--testing/qt5-qttranslations/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/qt5-qttranslations/APKBUILD b/testing/qt5-qttranslations/APKBUILD
new file mode 100644
index 0000000000..8dbf41a4d5
--- /dev/null
+++ b/testing/qt5-qttranslations/APKBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=qt5-qttranslations
+pkgver=5.1.1
+pkgrel=0
+pkgdesc="Qt5 - QtTranslations module"
+url="http://qt-project.org/"
+arch="noarch"
+license="LGPLv2 with exceptions or GPLv3 with exceptions and GFDL"
+depends=""
+depends_dev=""
+makedepends="$depends_dev qt5-qttools-dev"
+install=""
+subpackages=""
+source="http://download.qt-project.org/official_releases/qt/5.1/$pkgver/submodules/qttranslations-opensource-src-$pkgver.tar.xz"
+
+_builddir="$srcdir"/qttranslations-opensource-src-$pkgver
+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 && make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make install INSTALL_ROOT="$pkgdir" || return 1
+}
+
+md5sums="5ab0f6c326b9dc0a952cc496df2679aa qttranslations-opensource-src-5.1.1.tar.xz"
+sha256sums="7466f5202997c120a5a05bee4d4b39774731d1acab09bcc8fd0724e1a5835c93 qttranslations-opensource-src-5.1.1.tar.xz"
+sha512sums="e57450d4cd5e0c5a4a49a192840f50db757c20747d68aac139e5b9b669f06f72f311e0c10ad11d7ddc8d58de6c0797f2f89fca22c5e09f10b22af42e451439ed qttranslations-opensource-src-5.1.1.tar.xz"