a6fdf65446
* aports: unicsy-demo: pure Python program should have noarch set Per https://wiki.alpinelinux.org/wiki/APKBUILD_examples:Python#arch, pure Python programs should be marked as noarch in the APKBUILD instead of all. * aports: sdl_net: fix build on aarch64 The version of config.guess and config.sub predate aarch64, so ./configure errors out with instructions to update them. Add a prepare section in APKBUILD to do this. * aports: sdl_net+chocolate-doom: pass CHOST and CBUILD to configure Other Alpine packages pass these options in to aid cross compling; for example, the template APKBUILD from https://github.com/alpinelinux/abuild/blob/master/newapkbuild.in#L43 uses them. Add them to chocolate-doom and sdl_net.
22 lines
808 B
Text
22 lines
808 B
Text
pkgname=unicsy-demo
|
|
pkgver=0.2
|
|
pkgrel=1
|
|
pkgdesc="Phone hardware demo (battery status, light sensors, accelerometer, LEDs, backlights)"
|
|
url="https://github.com/pavelmachek/unicsy_demo"
|
|
arch="noarch"
|
|
license="GPL3"
|
|
depends="py-gtk-dev"
|
|
makedepends=""
|
|
subpackages=""
|
|
|
|
source="${pkgname}-${pkgver}.tar.gz::https://github.com/pavelmachek/unicsy_demo/archive/${pkgver}.tar.gz"
|
|
|
|
options="!strip"
|
|
|
|
package() {
|
|
install -d -m755 "$pkgdir"/usr/share/unicsy/demo/
|
|
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
|
|
}
|
|
sha512sums="403fb82b6f6a9d37b195ccda38dc6d4756e4124d11fbcc9f310501be5cf96488fca12a1ad0126cfa6001319750067ffdfaf8eea0fb13d144075028779bfb7c98 unicsy-demo-0.2.tar.gz"
|