blob: b9a6c2c52c090da98f0f146d3ccc28ab56fdaa37 (
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
|
# Maintainer: VIVID <vivid@headrat.org>
_pkgname=libg15
pkgname=$_pkgname-git
pkgver=1.3.1.r0.g132f443
pkgrel=1
pkgdesc="Provides low-level access to the Logitech G15 and G11 keyboards and Z10 speakers"
arch=('x86_64')
url="https://github.com/vividnightmare/$_pkgname"
license=('GPL')
depends=('libusb-compat')
conflicts=('libg15')
provides=('libg15')
source=("$pkgname::git+$url")
sha512sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
chmod -R 777 ${pkgname}
cd "${pkgname}"
./configure --prefix=/usr
make
}
package() {
cd "${pkgname}"
make DESTDIR="${pkgdir}" install
}
|