summaryrefslogtreecommitdiffstats
path: root/testing/qtserialport/APKBUILD
blob: 75f08c3fbcc318934a0113842e982f44909946a2 (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
41
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=qtserialport
pkgver=0_git20130311
_gitrev=ca598083
pkgrel=0
pkgdesc="Interface to serial ports for Qt application"
url="http://qt-project.org/wiki/QtSerialPort"
arch="all"
license="LGPL"
depends=""
depends_dev="qt-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::http://qt.gitorious.org/qt/qtserialport/archive-tarball/$_gitrev"

_builddir="$srcdir"/qt-qtserialport
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
}

package() {
	cd "$_builddir"
	make INSTALL_ROOT="$pkgdir" install
}

md5sums="76edd7b2fbb2bde5b4aa0d9f43edb27a  qtserialport-0_git20130311.tar.gz"
sha256sums="80fe4b273a76e5153b98646e1a8f2668792a4c179ffe8f86ccfc140474a855b9  qtserialport-0_git20130311.tar.gz"
sha512sums="855738295d68fe745b507d98d613c70996a089980a6561c7b728c39e433016b1f817a8033c9cb9783535ef1660abfa37007b32185ef5d3f8d059b38ca43e50b4  qtserialport-0_git20130311.tar.gz"