diff options
author | Benjamin Hedrich | 2017-01-31 22:19:53 +0100 |
---|---|---|
committer | Benjamin Hedrich | 2017-01-31 22:20:53 +0100 |
commit | b5f265b7761de00c033fa1301b946dfe23b2852f (patch) | |
tree | 1ab2f750535690996e5f19827291b7c48654f47f | |
download | aur-b5f265b7761de00c033fa1301b946dfe23b2852f.tar.gz |
Intital commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..adf9abb30ee3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = raspberry-remote-git + pkgdesc = Control remote plugs with the Raspberry Pi, features a webinterface. Uses RCSwitch and wiringPi. + pkgver = 70.8a5b705 + pkgrel = 1 + url = https://github.com/xkonni/raspberry-remote + arch = armv7h + arch = armv6h + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = git + depends = wiringpi-git + source = git://github.com/xkonni/raspberry-remote + md5sums = SKIP + +pkgname = raspberry-remote-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5bf59ace407d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Benjamin Hedrich <code at pagenotfound.de> +pkgname=raspberry-remote-git +_gitname=raspberry-remote +pkgver=70.8a5b705 +pkgrel=1 +pkgdesc="Control remote plugs with the Raspberry Pi, features a webinterface. Uses RCSwitch and wiringPi." +url="https://github.com/xkonni/raspberry-remote" +arch=('armv7h' 'armv6h' 'i686' 'x86_64') +license=('GPL2') +depends=('wiringpi-git') +makedepends=('git') +source=('git://github.com/xkonni/raspberry-remote') +md5sums=('SKIP') + +pkgver() { + cd $_gitname + echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) +} + +build() { + cd $_gitname + make send +} + +package() { + cd $_gitname + install -D send "${pkgdir}"/usr/bin/send +} |