aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qt5-qtscript/APKBUILD
blob: f9f1f4d60ce71501e0774849d072afe3f8e7ab30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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"