diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 18 insertions, 3 deletions
@@ -8,14 +8,29 @@ arch=('x86_64') url="https://github.com/Lawstorant/hid-logitech-hidpp" license=('GPL2') depends=(dkms) -makedepends=(git) -source=(git+https://github.com/Lawstorant/hid-logitech-hidpp) -sha256sums=('SKIP') +makedepends=( + git + gcc + glibc +) +source=( + git+https://github.com/Lawstorant/hid-logitech-hidpp + axis-hack.patch +) +sha256sums=( + 'SKIP' + 'addbedca432c213cc58642dca94e55209098d44fb967d0f2fcd1ec83a433a624' +) pkgver() { cd "$srcdir/$_reponame" git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } + +prepare() { + cd "$srcdir/$_reponame" + git apply -3 ../axis-hack.patch +} package() { cd "$srcdir/$_reponame" |