blob: bf155c2b7a72955cdb8e6a2cd19088478b102491 (
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
|
_pkgname=hid-msi-claw
pkgname=$_pkgname-dkms-git
pkgver=0.0.2
pkgrel=1
pkgdesc='Linux kernel driver for MSI Claw device'
arch=('x86_64')
url='https://github.com/NeroReflex/hid-msi-claw-dkms'
license=('GPL2')
depends=('dkms')
#install=$_pkgname.install
source=(
"git+https://github.com/NeroReflex/hid-msi-claw-dkms.git"
)
sha256sums=(
'SKIP'
)
#prepare() {
# sed -e "s/@CFLGS@//" \
# -e "s/@VERSION@/$pkgver/" \
# -i "$srcdir/$_pkgname/dkms.conf"
#}
package() {
install -Dm644 "$srcdir/hid-msi-claw-dkms/dkms.conf" "$pkgdir/usr/src/$_pkgname-$pkgver/dkms.conf"
install -Dm644 "$srcdir/hid-msi-claw-dkms/Makefile" "$pkgdir/usr/src/$_pkgname-$pkgver/Makefile"
install -Dm644 "$srcdir/hid-msi-claw-dkms/hid-msi-claw.c" "$pkgdir/usr/src/$_pkgname-$pkgver/hid-msi-claw.c"
#install -Dm644 "$srcdir/$_pkgname.conf" "$pkgdir/usr/lib/modprobe.d/$_pkgname.conf"
}
# vim:set et ts=2 sw=2 tw=79
|