summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 65b9cf17c94a21a98f24d46eabb353e78b55cb57 (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
pkgname=dkms-hid-sony-shanwan
_pkgname=hid-sony
pkgver=1
pkgrel=1
pkgdesc='The hid-sony driver patched to fix the non-stop rumbling bug with the Shanwan gamepads (clones of Dualshock 3)'
url='https://github.com/raspberrypi/linux/commit/492ca83c3d19fba1622164f07cd7b775596a7db2'
arch=('i686' 'x86_64')
license=('GPL')
depends=('dkms')
makedepends=('linux-headers')

source=('Makefile'
        'dkms.conf'
        'hid-sony.c'
        'hid-ids.h')

md5sums=('5cbe7c99718d8b1486b22bf727018fab'
         '56200443eb4c01b755de1ec7c423eadc'
         'b79d3c0ce5f2734df35ecf11ea07f572'
         '2422777cff8d52214762dccb0bd062ea')

install=hid-sony.install

package() {
  cd "${srcdir}"
  mkdir -p ${pkgdir}/usr/src/${_pkgname}-${pkgver}
  cp -L Makefile ${pkgdir}/usr/src/${_pkgname}-${pkgver}
  cp -L dkms.conf ${pkgdir}/usr/src/${_pkgname}-${pkgver}
  cp -L hid-sony.c ${pkgdir}/usr/src/${_pkgname}-${pkgver}
  cp -L hid-ids.h ${pkgdir}/usr/src/${_pkgname}-${pkgver}
}