Update unicsy-demo to 0.4.6 (#1215)

This commit is contained in:
Pavel Machek 2018-02-09 21:41:15 +01:00 committed by Oliver Smith
parent 9a6d507fbb
commit ef60968c20

View file

@ -1,24 +1,26 @@
pkgname=unicsy-demo
pkgver=0.4
pkgver=0.4.6
pkgrel=0
pkgdesc="Phone hardware demo (battery status, light sensors, accelerometer, LEDs, backlights)"
url="https://github.com/pavelmachek/unicsy_demo"
arch="noarch"
license="GPL3"
depends="python2 py-gtk-dev py-dbus"
depends="python2 py-gtk-dev py-dbus mate-terminal xscreensaver pulseaudio alsa-utils bash xmessage"
makedepends=""
subpackages=""
options="!strip"
source="${pkgname}-${pkgver}.tar.gz::https://github.com/pavelmachek/unicsy_demo/archive/${pkgver}.tar.gz"
options="!strip"
builddir="$srcdir/unicsy_demo-$pkgver"
package() {
install -d -m755 "$pkgdir"/usr/share/unicsy
install -d -m1666 "$pkgdir"/usr/share/unicsy/wd
install -d -m755 "$pkgdir"/usr/bin
cp -a "${srcdir}/unicsy_demo-${pkgver}"/* "$pkgdir"/usr/share/unicsy/
cp -a "$builddir"/* "$pkgdir"/usr/share/unicsy/
ln -s /usr/share/unicsy/demo/demo.py "$pkgdir"/usr/bin/unicsy_demo
install -D -m755 "$srcdir/unicsy_demo-${pkgver}"/startup/unicsy_demo.desktop \
"$pkgdir"/etc/xdg/autostart/unicsy_demo.desktop
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
}
sha512sums="b916a745a0dd771525a6fbc06eef7dc443073ea2a09369c1d1a32d01b931161936ce471b4642a95b3e36cd39d22bb5df60f08fd9f1f3403b1173d33a0fc059a9 unicsy-demo-0.4.tar.gz"
sha512sums="60b6158f03b96dce38845e2b3cdf00a139be3ead618c7315f2d2d27464439d443580dc1d91f1add043480c499a1357e4105e715fca16f0a426e633d8abc813bb unicsy-demo-0.4.6.tar.gz"