Package unicsy_demo (basic hardware demo) (#643)

This commit is contained in:
Pavel Machek 2017-09-29 18:38:46 +02:00 committed by Oliver Smith
parent 09afa1f853
commit 28b49f1dfa

22
main/unicsy-demo/APKBUILD Normal file
View File

@ -0,0 +1,22 @@
pkgname=unicsy-demo
pkgver=0.2
pkgrel=1
pkgdesc="Phone hardware demo (battery status, light sensors, accelerometer, LEDs, backlights)"
url="https://github.com/pavelmachek/unicsy_demo"
arch="all"
license="GPL3"
depends="py-gtk-dev"
makedepends=""
subpackages=""
source="${pkgname}-${pkgver}.tar.gz::https://github.com/pavelmachek/unicsy_demo/archive/${pkgver}.tar.gz"
options="!strip"
package() {
install -d -m755 "$pkgdir"/usr/share/unicsy/demo/
install -d -m755 "$pkgdir"/usr/bin
cp -a "${srcdir}/unicsy_demo-${pkgver}"/* "$pkgdir"/usr/share/unicsy/
ln -s /usr/share/unicsy/demo/demo.py "$pkgdir"/usr/bin/unicsy_demo
}
sha512sums="403fb82b6f6a9d37b195ccda38dc6d4756e4124d11fbcc9f310501be5cf96488fca12a1ad0126cfa6001319750067ffdfaf8eea0fb13d144075028779bfb7c98 unicsy-demo-0.2.tar.gz"