25 lines
760 B
Bash
25 lines
760 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=python-kiwisolver
|
|
pkgver=1.3.1
|
|
pkgrel=1
|
|
pkgdesc="A fast implementation of the Cassowary constraint solver"
|
|
url="https://github.com/nucleic/kiwi"
|
|
license=('Modified-BSD')
|
|
arch=('i686' 'x86_64')
|
|
depends=('python')
|
|
makedepends=('python-cppy' 'python-setuptools')
|
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/nucleic/kiwi/archive/$pkgver.tar.gz")
|
|
sha512sums=('0f5c1e516c334d358b8679313035dd45386381965853005271c73e3f4421fb27e3ca5a43b4f2dc85d693f4151427dae9b34d372fe72fcc1a186abd85a54a225a')
|
|
|
|
build() {
|
|
cd kiwi-$pkgver
|
|
python setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd kiwi-$pkgver/
|
|
python setup.py install --root="$pkgdir" --optimize=1
|
|
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
|
|
}
|