blob: 5724e3b79a5c06e0be9ea4503c340ad42407bf0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: Razer <razer[AT]neuf[DOT]fr>
pkgname=python-adafruit-circuitpython-framebuf
_pypi_pkgname=adafruit-circuitpython-framebuf
pkgver=1.4.8
pkgrel=0
pkgdesc="CircuitPython frambuf module, based on the Python frambuf module"
arch=('armv6h' 'armv7h')
url="https://github.com/adafruit/Adafruit_CircuitPython_framebuf"
license=('MIT')
makedepends=('python-setuptools' 'python-pip')
depends=('python' 'python-adafruit-blinka')
optdepends=('python-raspberry-gpio')
source=("https://pypi.io/packages/source/a/${_pypi_pkgname}/${_pypi_pkgname}-${pkgver}.tar.gz")
sha256sums=('f231d47d21e27c64dddb9d5e4a905e0de6735dee7b2ed532f65207b0877fe52c')
build() {
cd "${srcdir}/${_pypi_pkgname}-${pkgver}"
python setup.py build || return 1
}
package() {
cd "${srcdir}/${_pypi_pkgname}-${pkgver}"
python setup.py install --root=${pkgdir} --optimize=1 || return 1
install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|