aboutsummaryrefslogtreecommitdiffstats
path: root/community/qt5-qtserialport/APKBUILD
blob: 0fc0af938226ad98d7a6b12f799e99da2b9e14ef (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
# Contributor: Denis Ryabyy <vv1r0x@gmail.com>
# Maintainer: Denis Ryabyy <vv1r0x@gmail.com>
pkgname=qt5-qtserialport
_pkgname=qtserialport-opensource
pkgver=5.9.1
pkgrel=0
pkgdesc="Qt5 - QtSerialPort module"
url="http://wiki.qt.io/QtSerialPort"
arch="all"
license="LGPL"
depends=""
makedepends="qt5-qtbase-dev eudev-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
}

sha512sums="ec86981bf276dc7c084700a595118dca1f346bd840e038d551900a3b74b11b9cc71ce492a7314476f9a92d1e703ae6755cabcf0f59d1db5b61c836c5a329abcb  qtserialport-opensource-src-5.9.1.tar.xz"