From ef60968c20f4dc8bba5cfd18c4f330596517a0eb Mon Sep 17 00:00:00 2001 From: Pavel Machek <8401486+pavelmachek@users.noreply.github.com> Date: Fri, 9 Feb 2018 21:41:15 +0100 Subject: [PATCH] Update unicsy-demo to 0.4.6 (#1215) --- main/unicsy-demo/APKBUILD | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/main/unicsy-demo/APKBUILD b/main/unicsy-demo/APKBUILD index 27ccd29f2..b38c2feff 100644 --- a/main/unicsy-demo/APKBUILD +++ b/main/unicsy-demo/APKBUILD @@ -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"