Add 'ledmon/' from commit 'a9d90ba8dcffa63f4823f5d3c2eecc89aed95dd0'
git-subtree-dir: ledmon git-subtree-mainline:4785b7c331
git-subtree-split:a9d90ba8dc
This commit is contained in:
commit
b2eda12192
2 changed files with 44 additions and 0 deletions
15
ledmon/.SRCINFO
Normal file
15
ledmon/.SRCINFO
Normal file
|
@ -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
|
||||||
|
|
29
ledmon/PKGBUILD
Normal file
29
ledmon/PKGBUILD
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||||
|
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/"
|
||||||
|
}
|
Loading…
Reference in a new issue