diff options
author | Thomas Gläßle | 2015-10-15 15:42:40 +0200 |
---|---|---|
committer | Thomas Gläßle | 2015-10-15 15:42:40 +0200 |
commit | 2a7827b4f85aac6e1315ab70fd516e565ee15b43 (patch) | |
tree | fed0d0d58a880cb3703795c3abf222719469d2e7 | |
download | aur-2a7827b4f85aac6e1315ab70fd516e565ee15b43.tar.gz |
setcapslock 0.0.1
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 23 |
3 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..af203e8670dd --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = setcapslock + pkgdesc = Small utility to set the caps lock state. + pkgver = 0.0.1 + pkgrel = 1 + url = https://github.com/coldfix/setcapslock + arch = i686 + arch = x86_64 + license = custom:UNLICENSE + depends = libx11 + source = https://github.com/coldfix/setcapslock/archive/0.0.1.tar.gz + md5sums = 810a19eb8b4babc3833bc6877b3bebd4 + +pkgname = setcapslock + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..22333890a9d1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +pkg +src +*.tar.xz +*.tar.gz +*.tgz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8c64752a2ab9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Thomas Gläßle <t_glaessle@gmx.de> + +pkgname=setcapslock +pkgver=0.0.1 +pkgrel=1 +pkgdesc="Small utility to set the caps lock state." +arch=('i686' 'x86_64') +url="https://github.com/coldfix/setcapslock" +license=('custom:UNLICENSE') +depends=('libx11') +source=("$url/archive/${pkgver}.tar.gz") +md5sums=('810a19eb8b4babc3833bc6877b3bebd4') + +build() { + cd "$srcdir/$pkgname-$pkgver" + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + install -D -m 644 UNLICENSE "$pkgdir/usr/share/licenses/$pkgname/UNLICENSE" + install -D -m 755 $pkgname "$pkgdir/usr/bin/$pkgname" +} |