blob: 841445117bf95f4cacb37c8b166d4754cb61d4f0 (
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
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Florian Wetzel <aur@commanderred.xyz>
pkgname=python-rgb565-converter
_name=${pkgname#python-}
pkgver=1.4.0
pkgrel=1
pkgdesc="Python script to convert images into rgb565 as required by some tft libraries"
arch=('any')
url="https://github.com/CommanderRedYT/rgb565-converter"
license=('MIT')
depends=('python')
makedepends=('python-setuptools')
source=(
"https://github.com/CommanderRedYT/rgb565-converter/archive/refs/tags/${pkgver}.tar.gz"
)
sha256sums=('51e2d96407f7db8def514c50147d406aa28a377a41594fbc156de4ac36a4f3e0')
build() {
cd "$_name-$pkgver"
python setup.py build
}
# check() {
# cd $_name-$pkgver
#
# python setup.py pytest
# }
package() {
cd "$_name-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
|