diff --git a/ledmon/.SRCINFO b/ledmon/.SRCINFO new file mode 100644 index 0000000..4a627a0 --- /dev/null +++ b/ledmon/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = ledmon + pkgdesc = Monitor your keyboard LED [C] (unmaintained) + pkgver = r6.d4b6a09 + pkgrel = 1 + url = http://github.com/jgoerzen/ledmon + arch = i686 + arch = x86_64 + license = GPL + makedepends = git + depends = libx11 + source = ledmon::git+https://github.com/jgoerzen/ledmon.git + md5sums = SKIP + +pkgname = ledmon + diff --git a/ledmon/PKGBUILD b/ledmon/PKGBUILD new file mode 100644 index 0000000..85e93a8 --- /dev/null +++ b/ledmon/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Cedric Girard +pkgname=ledmon +pkgver=r6.d4b6a09 +pkgrel=1 +pkgdesc="Monitor your keyboard LED [C] (unmaintained)" +arch=('i686' 'x86_64') +url="http://github.com/jgoerzen/ledmon" +license=('GPL') +depends=('libx11') +makedepends=('git') + +source=('ledmon::git+https://github.com/jgoerzen/ledmon.git') +md5sums=('SKIP') + +pkgver() { + cd "$srcdir"/ledmon + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir"/ledmon + make +} + +package() { + cd "$srcdir"/ledmon + install -d "$pkgdir/usr/bin/" + cp ledmon "$pkgdir/usr/bin/" +}