summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: afc8eb8f6cc1d52d11d2a504dd379b43461596e1 (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
34
35
36
37
38
39
40
41
# Maintainer: X3n0m0rph59 <x3n0m0rph59@gmail.com>
pkgname=roccat-vulcan
pkgver=0.0.3
pkgrel=0
pkgdesc="Linux RGB LED effect support for the Roccat Vulcan 100/120/121 Keyboard"
arch=('i686' 'x86_64')
url="https://github.com/X3n0m0rph59/roccat-vulcan"
license=('GPL')
groups=()
depends=('systemd-libs' 'hidapi' 'libevdev')
makedepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
#install=()
changelog=
source=("git+https://github.com/X3n0m0rph59/roccat-vulcan")
noextract=()
md5sums=('SKIP')

build() {
  cd "$pkgname"/src

  make
}

package() {
  cd "$pkgname"/src

  mkdir -p "$pkgdir/usr/bin"
  mkdir -p "$pkgdir/usr/lib/udev/rules.d/"
  mkdir -p "$pkgdir/usr/lib/systemd/user/"
    
  install -m 755 "roccat-vulcan" "$pkgdir/usr/bin/"
  install -m 644 "roccat-vulcan.service" "$pkgdir/usr/lib/systemd/user/"
  install -m 644 "arch/70-roccat-vulcan.rules" "$pkgdir/usr/lib/udev/rules.d/"
  install -m 644 "arch/99-roccat-vulcan.rules" "$pkgdir/usr/lib/udev/rules.d/"
}