aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/qt5-qtserialport/APKBUILD29
-rw-r--r--unmaintained/qtserialport/APKBUILD41
2 files changed, 29 insertions, 41 deletions
diff --git a/testing/qt5-qtserialport/APKBUILD b/testing/qt5-qtserialport/APKBUILD
new file mode 100644
index 0000000000..8856e6f8a0
--- /dev/null
+++ b/testing/qt5-qtserialport/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Denis Ryabyy <vv1r0x@gmail.com>
+# Maintainer: Denis Ryabyy <vv1r0x@gmail.com>
+pkgname=qt5-qtserialport
+_pkgname=qtserialport-opensource
+pkgver=5.6.0
+pkgrel=0
+pkgdesc="Qt5 - QtSerialPort module"
+url="http://wiki.qt.io/QtSerialPort"
+arch="all"
+license="LGPL"
+depends=""
+makedepends="qt5-qtbase-dev"
+subpackages="$pkgname-dev"
+source="https://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/$_pkgname-src-$pkgver.tar.xz"
+builddir="$srcdir/$_pkgname-src-$pkgver"
+
+build() {
+ cd "$builddir"
+ qmake-qt5 && make
+}
+
+package() {
+ cd "$builddir"
+ make INSTALL_ROOT="$pkgdir" install
+}
+
+md5sums="11b4bfd0ba6ec7bce686984c54d05340 qtserialport-opensource-src-5.6.0.tar.xz"
+sha256sums="16ee7fb66bb997df674a12a7a5a1450e2a2b860c8d34d237f3631d9f60853c1f qtserialport-opensource-src-5.6.0.tar.xz"
+sha512sums="3bc6d2fa38394fc972720794cded63fb6b6f2d78db5502364a571606d2d79666e0e0397f89b6c748a47baf8ca88ccdaa7e09b6ec58a977048cbfadad2430cfb2 qtserialport-opensource-src-5.6.0.tar.xz"
diff --git a/unmaintained/qtserialport/APKBUILD b/unmaintained/qtserialport/APKBUILD
deleted file mode 100644
index 75f08c3fbc..0000000000
--- a/unmaintained/qtserialport/APKBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# 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"