aboutsummaryrefslogtreecommitdiffstats
path: root/main/qextserialport/APKBUILD
blob: 31cd0509e31c7657f32c234bcdbba0199afcd862 (plain) (blame)
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
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=qextserialport
pkgver=1.2_rc1
_pkgver=1.2rc
pkgrel=0
pkgdesc="Interface to serial ports for Qt application"
url="http://code.google.com/p/qextserialport/"
arch="all"
license="MIT"
depends=""
depends_dev="qt-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/qextserialport/qextserialport-$_pkgver.zip"

builddir="$srcdir"/qextserialport-$_pkgver
prepare() {
	default_prepare
	echo "QEXTSERIALPORT_LIBRARY=yes" > config.pri
}

build() {
	cd "$builddir"
	qmake && make
}

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

md5sums="ffa061edb9f64666468d18402eee6108  qextserialport-1.2rc.zip"
sha256sums="9cbee267aac9830f9944bb1d13872e51fba400aa9afe158e64f0fe265a0176bc  qextserialport-1.2rc.zip"
sha512sums="64835dc89abfa7c17b6470317ff9e48f9136388806d52597b836dcb57b6f2f04dd46ffc217cb62d564863f1cb32c4a4f2c6930838b903ca0b9ef7556a5410b4b  qextserialport-1.2rc.zip"