23 lines
805 B
Text
23 lines
805 B
Text
|
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"
|