summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-10-04 18:31:06 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-07 06:25:28 +0000
commitc8aadea7ad276870432d3ddecae92e7dc31d53c7 (patch)
tree515487d2148a524588502a8af2defe6b3692d8ed /testing
parent57845115524c558483aabb6857e1a1e0b2baa786 (diff)
downloadaports-c8aadea7ad276870432d3ddecae92e7dc31d53c7.tar.bz2
aports-c8aadea7ad276870432d3ddecae92e7dc31d53c7.tar.xz
testing/qt5-qtscript: new aport
Qt5 - QtScript component http://qt-project.org/
Diffstat (limited to 'testing')
-rw-r--r--testing/qt5-qtscript/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/qt5-qtscript/APKBUILD b/testing/qt5-qtscript/APKBUILD
new file mode 100644
index 000000000..f9f1f4d60
--- /dev/null
+++ b/testing/qt5-qtscript/APKBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=qt5-qtscript
+pkgver=5.1.1
+pkgrel=0
+pkgdesc="Qt5 - QtScript component"
+url="http://qt-project.org/"
+arch="all"
+license="LGPLv2 with exceptions or GPLv3 with exceptions"
+depends=""
+depends_dev="qt5-qtbase-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev"
+source="http://download.qt-project.org/official_releases/qt/5.1/$pkgver/submodules/qtscript-opensource-src-$pkgver.tar.xz"
+
+_builddir="$srcdir"/qtscript-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_ROOT="$pkgdir" install || return 1
+ rm "$pkgdir"/usr/lib/*.la || return 1
+}
+
+md5sums="5c0e8633fbf560f711b7af689f8bcb99 qtscript-opensource-src-5.1.1.tar.xz"
+sha256sums="d80061f7652ae3992e2b9ffbc7052d54872f6042a7a258b50d22eadf0175f364 qtscript-opensource-src-5.1.1.tar.xz"
+sha512sums="0435cd4fbbda6b14c750c563368658b781be0f8d73e88c290aae08ac0445ae6a8807765e30d1f2527b06a51ef95bc4f46dcbcead874f8930718ddab53b6ea632 qtscript-opensource-src-5.1.1.tar.xz"