diff options
Diffstat (limited to 'user/qt5-qtserialbus/APKBUILD')
-rw-r--r-- | user/qt5-qtserialbus/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/user/qt5-qtserialbus/APKBUILD b/user/qt5-qtserialbus/APKBUILD new file mode 100644 index 000000000..644bb084a --- /dev/null +++ b/user/qt5-qtserialbus/APKBUILD @@ -0,0 +1,38 @@ +# Maintainer: Zach van Rijn <me@zv.io> +pkgname=qt5-qtserialbus +_pkgname=${pkgname#*-}-everywhere-src +pkgver=5.15.3_git20201027 +pkgrel=0 +_commit=8884c5e43df846deac5a0c7c290eeb633d6bfe32 +pkgdesc="Qt5 Serial Bus API provides classes and functions for various industrial serial buses and protocols, such as CAN, ModBus, etc." +url="https://www.qt.io/" +arch="all" +license="LGPL-3.0-only WITH Qt-LGPL-exception-1.1 OR GPL-3.0-only WITH Qt-GPL-exception-1.0" +depends="" +makedepends="qt5-qtbase-dev" +subpackages="$pkgname-dev" +source="https://invent.kde.org/qt/qt/${pkgname#*-}/-/archive/$_commit/${pkgname#*-}-$_commit.tar.gz" +builddir="$srcdir"/${pkgname#*-}-$_commit + +prepare() { + default_prepare + + # Make configure think we are running in a git directory + # This makes it symlink the include files to the right directory + mkdir .git +} + +build() { + qmake + make +} + +check() { + make check +} + +package() { + make install INSTALL_ROOT="$pkgdir" +} + +sha512sums="ffe33ec823e2b24e883dc6527986622ead64e509bbae481647095b9eecd98bc17adb0d1797163f9ff19077c46cf284fac57e531306437d3a263010b54de60b13 qtserialbus-8884c5e43df846deac5a0c7c290eeb633d6bfe32.tar.gz" |