blob: 588d6a51c67a37485eafaa05289c542d40838e00 (
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
|
# Maintainer: PinkCathodeCat <awils_1 atsymbol xsmail dot com>
# Contributor: Tbsc <me in tbscdev point xyz>
# Contributor: VuiMuich <jm dot spam atsymbol gmx dot net>
pkgname=ratslap
pkgver=0.4.1
pkgrel=0
pkgdesc="Community made Linux drivers for Logitech mice (Currently only G300s)"
arch=('i686' 'x86_64')
url="https://gitlab.com/krayon/$pkgname"
license=('GPL2')
depends=('libusb')
makedepends=('git')
provides=('ratslap')
conflicts=('ratslap')
options=()
install=
source=("$pkgname::git+https://gitlab.com/krayon/$pkgname#tag=$pkgver,branch=main")
md5sums=('SKIP')
build() {
cd "$srcdir/$pkgname"
make
cp manpage.1 "$pkgname.1"
gzip "$pkgname.1"
}
check() {
true
}
package() {
cd "$srcdir/$pkgname"
install -Dm755 "$srcdir/$pkgname/$pkgname" "${pkgdir}/usr/bin/ratslap"
install -D -g 0 -o 0 -m 0644 "$srcdir/$pkgname/$pkgname.1.gz" "${pkgdir}/usr/share/man/man1/$pkgname.1.gz"
}
|