aboutsummaryrefslogtreecommitdiffstats
path: root/testing/raspi2png/APKBUILD
blob: 92f05d6df6013bc4f05f2556fd10ed3b38ee8998 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: signageOS <dev@signageos.io>
pkgname="raspi2png"
pkgver="0.0.20190727"
_commitid=5008e64ead4e1d3a6496ec98e800a695629a3a2e
pkgrel=0
pkgdesc="Utility to take a snapshot of the raspberry pi screen and save it as a PNG file"
url="https://github.com/AndrewFromMelbourne/raspi2png"
arch="armhf armv7"
license="MIT"
makedepends="libpng-dev raspberrypi-dev"
options="!check"
source="raspi2png-$pkgver.tar.gz::https://github.com/AndrewFromMelbourne/raspi2png/archive/$_commitid.tar.gz"
builddir="$srcdir/"$pkgname-$_commitid

build() {
	make
}

package() {
	mkdir -p $pkgdir/usr/bin
	cp raspi2png $pkgdir/usr/bin/raspi2png
}
sha512sums="8b7023f904aa96a99ef0b68714acb67c34d2e2806c8c40774fdde02f282fb54ee7eded760c4547db9add78127585aaa07fb80985c188faa130c3fc860788139a  raspi2png-0.0.20190727.tar.gz"