blob: 849b9e3ada84df00a76aa17c1578c13112818a62 (
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
|
# Maintainer: Thomas Gläßle <t_glaessle@gmx.de>
pkgname=setcapslock
pkgver=0.0.4
pkgrel=2
pkgdesc="Small utility to set the caps lock state in an X session."
arch=('i686' 'x86_64')
url="https://github.com/coldfix/setcapslock"
license=('Unlicense')
depends=('glibc' 'libx11')
source=("$url/archive/${pkgver}.tar.gz")
md5sums=('6b6be3209e635724eb761fd2889b8a70')
build() {
cd "$srcdir/$pkgname-$pkgver"
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -D -m 644 UNLICENSE "$pkgdir/usr/share/licenses/$pkgname/UNLICENSE"
# for convenience install upper and lower case versions:
install -D -m 755 setcapslock "$pkgdir/usr/bin/setcapslock"
install -D -m 755 setcapslock "$pkgdir/usr/bin/SETCAPSLOCK"
}
|