PKGBUILDs/blackwidowcontrol/default/PKGBUILD

21 lines
823 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
2016-06-13 22:35:23 +02:00
pkgrel=4
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')
2016-06-13 22:35:23 +02:00
depends=('python-pyusb')
2015-08-01 20:54:37 +02:00
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${pkgname}/archive/v${pkgver}.tar.gz")
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
}