aboutsummaryrefslogtreecommitdiffstats
path: root/community/qextserialport/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-04-28 17:34:18 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-04-30 09:43:03 +0000
commit6b7b44781a4c83d0c0b569dd405d1a86c640604f (patch)
tree03fd0eb6d87f4a2543b8436b5580fe215dc5be4d /community/qextserialport/APKBUILD
parentcb8795d3c21de3f58eccbdf11ee5cfc3552e0571 (diff)
downloadaports-6b7b44781a4c83d0c0b569dd405d1a86c640604f.tar.gz
aports-6b7b44781a4c83d0c0b569dd405d1a86c640604f.tar.bz2
aports-6b7b44781a4c83d0c0b569dd405d1a86c640604f.tar.xz
main/qextserialport: modernize
- Switch to Qt5, Qt4 is EOL - Move to community due to qt5 - add !check
Diffstat (limited to 'community/qextserialport/APKBUILD')
-rw-r--r--community/qextserialport/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/qextserialport/APKBUILD b/community/qextserialport/APKBUILD
new file mode 100644
index 0000000000..8ac3358243
--- /dev/null
+++ b/community/qextserialport/APKBUILD
@@ -0,0 +1,33 @@
+# 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=1
+pkgdesc="Interface to serial ports for Qt application"
+options="!check" # Has no testsuite
+url="http://code.google.com/p/qextserialport/"
+arch="all"
+license="MIT"
+depends_dev="qt5-qtbase-dev"
+makedepends="$depends_dev"
+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-qt5 && make
+}
+
+package() {
+ cd "$builddir"
+ make INSTALL_ROOT="$pkgdir" install
+}
+
+sha512sums="64835dc89abfa7c17b6470317ff9e48f9136388806d52597b836dcb57b6f2f04dd46ffc217cb62d564863f1cb32c4a4f2c6930838b903ca0b9ef7556a5410b4b qextserialport-1.2rc.zip"