blob: c4c03b9f4d76b814364df9f60a6ceb2182d91086 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Luca Weiss <WEI16416@spengergasse.at>
pkgname=razercfg-git
pkgrel=1
pkgver=0.33.r15.g95e1d71
pkgver() {
cd razercfg
git describe --long | sed 's/^razercfg-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
install=razercfg-git.install
pkgdesc='Configuration utility for Razer devices on Linux systems.'
arch=('x86_64' 'i686')
license=('GPLv2')
source=('razercfg::git+https://github.com/mbuesch/razer.git')
url='http://bues.ch/cms/hacking/razercfg.html'
makedepends=('git' 'cmake')
optdepends=('python-pyside: For the graphical qrazercfg tool only.')
depends=('libusb' 'python')
provides=('razercfg' 'razercfg-git')
conflicts=('razercfg' 'razercfg-git')
md5sums=('SKIP')
build() {
cd razercfg
if [[ -d CMakeFiles ]]; then
rm -rf CMakeFiles
fi
cmake . -DCMAKE_INSTALL_PREFIX='/usr'
make
}
package_razercfg-git() {
cd razercfg
make DESTDIR="$pkgdir/" install
}
|