summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: da1a08a94d9d8e8b2c3218799f8d3c6ded927f9d (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
# Maintainer: Filipe Nascimento <flipee at tuta dot io>

_pkgname=pyxelate
pkgname=python-$_pkgname
pkgver=2.1.1
pkgrel=1
pkgdesc="Python class that generates pixel art from images"
arch=('any')
url="https://github.com/sedthh/pyxelate"
license=('MIT')
depends=('python-numba' 'python-scikit-image' 'python-scikit-learn')
makedepends=('git' 'python-setuptools')
source=("git+$url#commit=59000d1c342cff5a1d70438a843dd7ea88013e72")
sha256sums=('SKIP')

build() {
    cd $_pkgname
    python setup.py build
}

package() {
    cd $_pkgname
    python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
    install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}