PKGBUILDs/blackwidowcontrol/default/PKGBUILD

29 lines
912 B
Bash
Raw Normal View History

2015-08-01 20:54:37 +02:00
# 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.
2015-08-01 20:54:37 +02:00
pkgname=blackwidowcontrol
pkgver=1.0.0
pkgrel=3
2016-01-24 15:50:35 +01:00
pkgdesc="Python script to enable macro keys of the Razer BlackWidow keyboard under GNU/Linux"
2015-08-01 20:54:37 +02:00
arch=('any')
license=('GPL')
groups=
provides=
depends=("python" "python-pyusb")
makedepends=
conflicts=
replaces=
backup=
install=
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${pkgname}/archive/v${pkgver}.tar.gz")
noextract=
2015-08-27 23:00:38 +02:00
sha256sums=('b840f36debfdf7ce745105b2d187d643ac7588589aa7caf2a475af7da72ef362')
2015-08-01 20:54:37 +02:00
package() {
2015-12-24 16:50:30 +01:00
_srcdir="${srcdir}/${PROJECT_DIR_NAME:-$pkgname-$pkgver}"
install -Dm755 "${_srcdir}/blackwidowcontrol.py" "${pkgdir}/usr/bin/blackwidowcontrol"
install -Dm644 "${_srcdir}/razer_blackwidow.rules" "${pkgdir}/etc/udev/rules.d/70-razer_blackwidow.rules"
2015-08-01 20:54:37 +02:00
}