aboutsummaryrefslogtreecommitdiffstats
path: root/testing/razercfg
diff options
context:
space:
mode:
Diffstat (limited to 'testing/razercfg')
-rw-r--r--testing/razercfg/APKBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/testing/razercfg/APKBUILD b/testing/razercfg/APKBUILD
index e1cf13beaf..4692a43501 100644
--- a/testing/razercfg/APKBUILD
+++ b/testing/razercfg/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Taner Tas <taner76@gmail.com>
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=razercfg
-pkgver=0.40
+pkgver=0.41
pkgrel=0
pkgdesc="Razer mouse configuration tool."
url="https://bues.ch/cms/hacking/razercfg.html"
@@ -11,21 +11,26 @@ makedepends="
cmake
libusb-dev
python3
+ eudev-dev
"
subpackages="$pkgname-openrc $pkgname-gui::noarch"
-source="https://github.com/mbuesch/razer/archive/$pkgname-$pkgver.tar.gz
+source="https://github.com/mbuesch/razer/archive/razercfg-$pkgver.tar.gz
razerd.initd
"
options="!check" # No test suite
builddir="$srcdir/razer-$pkgname-$pkgver"
build() {
- cmake . -DCMAKE_INSTALL_PREFIX='/usr'
+ cmake . \
+ -DCMAKE_INSTALL_PREFIX=/usr
}
package() {
make DESTDIR="$pkgdir" install
install -Dm0755 "$srcdir"/razerd.initd "$pkgdir"/etc/init.d/razerd
+
+ # Systemd
+ rm -rf "$pkgdir"/usr/lib/tmpfiles.d
}
gui() {
@@ -35,5 +40,5 @@ gui() {
mv "$pkgdir"/usr/share "$subpkgdir"/usr/
mv "$pkgdir"/usr/bin/qrazercfg* "$subpkgdir"/usr/bin/
}
-sha512sums="6757d05cf75709a2af4337d21a68042538ca145a509299442553acf54994434a60ad62f98267afa8d26bfcd15f1f2e34100e887ace0fd41cd4657f354c6b5367 razercfg-0.40.tar.gz
+sha512sums="8ef8489bcd1f9617c0862cd8482eb1ccdcb4c748f2f32a1fcd6995e24d34f6032b30aade5eec1617f2ab44f8fa385198a427db32fa6b5faf6c116ee3d1db4be5 razercfg-0.41.tar.gz
1b13752471cc5860dbcafc416f0b9a2a6ef6abb7bb8df68e6acd0cddb4184d194f8b2adf5f163cd8580e2f65bab5baf632ea214558a635ddb67f1f2b8dc2d9f0 razerd.initd"