pmaports/main/unicsy-demo/APKBUILD

27 lines
1.1 KiB
Text
Raw Normal View History

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
pkgdesc="Phone hardware demo (battery status, light sensors, accelerometer, LEDs, backlights)"
url="https://github.com/pavelmachek/unicsy_demo"
arch="noarch"
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"
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"
2018-02-09 20:41:15 +00:00
builddir="$srcdir/unicsy_demo-$pkgver"
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
install -d -m755 "$pkgdir"/usr/bin
2018-02-09 20:41:15 +00:00
cp -a "$builddir"/* "$pkgdir"/usr/share/unicsy/
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
}
2018-02-09 20:41:15 +00:00
sha512sums="60b6158f03b96dce38845e2b3cdf00a139be3ead618c7315f2d2d27464439d443580dc1d91f1add043480c499a1357e4105e715fca16f0a426e633d8abc813bb unicsy-demo-0.4.6.tar.gz"