# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=py-skywriter-hat
pkgver=0.0.7
pkgrel=0
pkgdesc="Python libraries for the Pimoroni Skywriter board"
url="https://github.com/pimoroni/skywriter-hat"
arch="noarch"
license="MIT"
depends="python2"
depends_dev=""
makedepends="python2-dev"
install=""
subpackages=""
source="${pkgname}-${pkgver}.tar.gz::https://github.com/pimoroni/${pkgname#py-}/archive/v${pkgver}.tar.gz"
builddir=${srcdir}/${pkgname#py-}-${pkgver}
build() {

	cd "$builddir/library"
	python2 setup.py build || return 1
}

package() {
	cd "$builddir/library"
	python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

sha512sums="ecce89f95fbd8402001e4896bdd2e7e371944152abd1a42ee809e065c37ca7397572669c34c6f681762811e2dbf26e8b3bfa9776d698dde17e8e3802f7e490eb  py-skywriter-hat-0.0.7.tar.gz"
