2017-09-29 16:38:46 +00:00
|
|
|
pkgname=unicsy-demo
|
2017-10-11 15:18:53 +00:00
|
|
|
pkgver=0.4
|
|
|
|
pkgrel=0
|
2017-09-29 16:38:46 +00:00
|
|
|
pkgdesc="Phone hardware demo (battery status, light sensors, accelerometer, LEDs, backlights)"
|
|
|
|
url="https://github.com/pavelmachek/unicsy_demo"
|
2017-10-02 20:47:26 +00:00
|
|
|
arch="noarch"
|
2017-09-29 16:38:46 +00:00
|
|
|
license="GPL3"
|
2017-10-11 15:18:53 +00:00
|
|
|
depends="python2 py-gtk-dev py-dbus"
|
2017-09-29 16:38:46 +00:00
|
|
|
makedepends=""
|
|
|
|
subpackages=""
|
|
|
|
|
|
|
|
source="${pkgname}-${pkgver}.tar.gz::https://github.com/pavelmachek/unicsy_demo/archive/${pkgver}.tar.gz"
|
|
|
|
|
|
|
|
options="!strip"
|
|
|
|
|
|
|
|
package() {
|
2017-10-11 15:18:53 +00:00
|
|
|
install -d -m755 "$pkgdir"/usr/share/unicsy
|
2017-09-29 16:38:46 +00:00
|
|
|
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
|
2017-10-11 15:18:53 +00:00
|
|
|
install -D -m755 "$srcdir/unicsy_demo-${pkgver}"/startup/unicsy_demo.desktop \
|
|
|
|
"$pkgdir"/etc/xdg/autostart/unicsy_demo.desktop
|
2017-09-29 16:38:46 +00:00
|
|
|
}
|
2017-10-11 15:18:53 +00:00
|
|
|
sha512sums="b916a745a0dd771525a6fbc06eef7dc443073ea2a09369c1d1a32d01b931161936ce471b4642a95b3e36cd39d22bb5df60f08fd9f1f3403b1173d33a0fc059a9 unicsy-demo-0.4.tar.gz"
|