2017-09-29 16:38:46 +00:00
|
|
|
pkgname=unicsy-demo
|
2018-02-09 20:41:15 +00:00
|
|
|
pkgver=0.4.6
|
2017-10-11 15:18:53 +00:00
|
|
|
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"
|
2018-02-09 20:41:15 +00:00
|
|
|
depends="python2 py-gtk-dev py-dbus mate-terminal xscreensaver pulseaudio alsa-utils bash xmessage"
|
2017-09-29 16:38:46 +00:00
|
|
|
makedepends=""
|
|
|
|
subpackages=""
|
|
|
|
options="!strip"
|
2018-02-09 20:41:15 +00:00
|
|
|
source="${pkgname}-${pkgver}.tar.gz::https://github.com/pavelmachek/unicsy_demo/archive/${pkgver}.tar.gz"
|
2017-09-29 16:38:46 +00:00
|
|
|
|
2018-02-09 20:41:15 +00:00
|
|
|
builddir="$srcdir/unicsy_demo-$pkgver"
|
2017-09-29 16:38:46 +00:00
|
|
|
package() {
|
2017-10-11 15:18:53 +00:00
|
|
|
install -d -m755 "$pkgdir"/usr/share/unicsy
|
2018-02-09 20:41:15 +00:00
|
|
|
install -d -m1666 "$pkgdir"/usr/share/unicsy/wd
|
2017-09-29 16:38:46 +00:00
|
|
|
install -d -m755 "$pkgdir"/usr/bin
|
2018-02-09 20:41:15 +00:00
|
|
|
cp -a "$builddir"/* "$pkgdir"/usr/share/unicsy/
|
2017-09-29 16:38:46 +00:00
|
|
|
ln -s /usr/share/unicsy/demo/demo.py "$pkgdir"/usr/bin/unicsy_demo
|
2018-02-09 20:41:15 +00:00
|
|
|
install -D -m755 "$builddir"/startup/unicsy_demo.desktop \
|
|
|
|
"$pkgdir"/etc/xdg/autostart/unicsy_demo.desktop
|
|
|
|
install -D -m440 "$builddir"/startup/phone.sudoers \
|
|
|
|
"$pkgdir"/etc/sudoers.d/phone
|
2017-09-29 16:38:46 +00:00
|
|
|
}
|
2018-02-09 20:41:15 +00:00
|
|
|
sha512sums="60b6158f03b96dce38845e2b3cdf00a139be3ead618c7315f2d2d27464439d443580dc1d91f1add043480c499a1357e4105e715fca16f0a426e633d8abc813bb unicsy-demo-0.4.6.tar.gz"
|