diff options
author | Radek Podgorny | 2015-06-14 21:53:57 +0200 |
---|---|---|
committer | Radek Podgorny | 2015-06-14 21:53:57 +0200 |
commit | 3a19823ce8d6388809b0873fced0fee51a1673df (patch) | |
tree | 667cc19b788ea80b2f12d83c090eb771b8b1c10c /PKGBUILD | |
download | aur-3a19823ce8d6388809b0873fced0fee51a1673df.tar.gz |
initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ba08aa0ef0c8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Radek Podgorny <radek@podgorny.cz> +pkgname='python-bcm2835-git' +pkgver=r8.cfce6e0 +pkgrel=1 +pkgdesc="Python wrapper for the bcm2835 library" +arch=('any') +url="https://github.com/rpodgorny/PyBCM2835" +license=('GPL') +depends=('python') +makedepends=('git') +#options=(!emptydirs) +source=('git+https://github.com/rpodgorny/PyBCM2835') +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/PyBCM2835" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$srcdir/PyBCM2835" + python setup.py install --root="$pkgdir"/ --optimize=1 + + #install -d $pkgdir/usr/lib/systemd/system + #install faddnsc.service $pkgdir/usr/lib/systemd/system/ + + #install -d $pkgdir/etc + #install faddnsc.ini $pkgdir/etc/faddnsc.conf + + #install -d $pkgdir/usr/bin + #install nsupdate.py $pkgdir/usr/bin/nsupdate + #install server.py $pkgdir/usr/bin/nsupdate-server + #install nsupdate-zone.py $pkgdir/usr/bin/ +} |