diff options
Diffstat (limited to 'testing/qtserialport/APKBUILD')
-rw-r--r-- | testing/qtserialport/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/qtserialport/APKBUILD b/testing/qtserialport/APKBUILD new file mode 100644 index 0000000000..75f08c3fbc --- /dev/null +++ b/testing/qtserialport/APKBUILD @@ -0,0 +1,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" |