summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorC0rn3j2020-01-15 15:05:03 +0100
committerC0rn3j2020-01-15 15:05:03 +0100
commit6e3ec6ffa998473f70db0cd2eca413c94fbb1a73 (patch)
tree08308c0577c0ea8664ff5792d453c4d53f797cc9 /PKGBUILD
parent9ff11c06b801b19ceb2608c62ec16296bf915324 (diff)
downloadaur-6e3ec6ffa998473f70db0cd2eca413c94fbb1a73.tar.gz
also build the GUI version
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cd594925e67..65500022247 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,13 @@
# Previous maintainer: Arda Demir <ardadem.dev@gmail.com>
pkgname=a4tech-bloody-driver-git
_pkgname=a4tech-bloody-driver
-pkgver=r17.15e03c75
+pkgver=r18.5a19d1f0
pkgrel=1
pkgdesc='Linux driver for a4tech bloody mouse series.'
arch=('any')
url='https://gitlab.com/C0rn3j/a4tech_bloody_p85_driver'
license=('AGPL3')
-makedepends=('git' 'cmake')
+makedepends=('git' 'cmake' 'qt5-base')
provides=('a4tech-bloody-driver')
conflicts=('a4tech-bloody-driver')
source=($pkgname::git+https://gitlab.com/C0rn3j/a4tech_bloody_p85_driver
@@ -21,6 +21,8 @@ build() {
cmake ./
make
+ cd qt
+ qmake bloody.pro -spec linux-g++ CONFIG+=qtquickcompiler
}
package() {
@@ -30,5 +32,8 @@ package() {
install -Dm755 "${srcdir}/${pkgname}/bloody-cli" "${pkgdir}/usr/bin/"
chmod +x "${pkgdir}/usr/bin/bloody-cli"
+ install -Dm755 "${srcdir}/${pkgname}/qt/bloody" "${pkgdir}/usr/bin/"
+ chmod +x "${pkgdir}/usr/bin/bloody"
+
install -Dm644 "${srcdir}/60-bloody.rules" "${pkgdir}/usr/lib/udev/rules.d/"
}