blob: 0a573c9e4ee9d85fb12e12f858da25e43da89938 (
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: Peter Wu <peter@lekensteyn.nl>
# Contributor: Adrien Sohier <adrien.sohier@art-software.fr>
pkgname=ltunify-git
pkgver=0.2.22.gc3a263f
pkgrel=2
pkgdesc="A command-line tool to pair Logitech Unifying devices"
arch=('i686' 'x86_64' 'ARM')
url="https://lekensteyn.nl"
license=('GPL')
depends=('glibc')
makedepends=('git')
source=('git+https://git.lekensteyn.nl/ltunify.git')
md5sums=('SKIP')
changelog='NEWS'
_gitname='ltunify'
pkgver() {
cd "$_gitname"
git describe --always | sed 's|^v||;s|-|.|g'
}
build() {
cd "$_gitname"
make ltunify
}
package() {
cd "$_gitname"
install -Dm755 ltunify "$pkgdir/usr/bin/ltunify"
install -Dm644 udev/42-logitech-unify-permissions.rules \
"$pkgdir/usr/lib/udev/rules.d/42-ltunify-permissions.rules"
}
|