blackwidowcontrol-git
# Maintainer: Martchus <martchus@gmx.net> | |
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where | |
# you also find the URL of a binary repository. | |
pkgname=blackwidowcontrol | |
pkgver=r10.e793f18 | |
pkgrel=1 | |
pkgdesc='Python script to enable macro keys of the Razer BlackWidow keyboard under GNU/Linux' | |
arch=('any') | |
license=('GPL') | |
depends=('python-pyusb') | |
source=("git+https://github.com/Martchus/${pkgname}.git") | |
sha256sums=('SKIP') | |
pkgver() { | |
cd "${srcdir}/${pkgname}" | |
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" | |
} | |
package() { | |
_srcdir="${srcdir}/${pkgname}" | |
install -Dm755 "${_srcdir}/blackwidowcontrol.py" "${pkgdir}/usr/bin/blackwidowcontrol" | |
install -Dm644 "${_srcdir}/razer_blackwidow.rules" "${pkgdir}/etc/udev/rules.d/70-razer_blackwidow.rules" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment