diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -6,21 +6,21 @@ pkgname=gnofract4d pkgver=4.3 -pkgrel=3 -pkgdesc="Create beautiful fractal images" -arch=('any') -url="https://github.com/fract4d/gnofract4d" -license=('BSD') -depends=('gtk3' 'libjpeg' 'libpng' 'python-cairo' 'python-gobject') -makedepends=('python-setuptools') +pkgrel=4 +pkgdesc='Create beautiful fractal images' +arch=(any) +url=https://github.com/fract4d/gnofract4d +license=(BSD) +depends=(gtk3 libjpeg libpng python-cairo python-gobject) +makedepends=(python-build python-installer python-wheel python-setuptools) optdepends=('ffmpeg: to create videos') -checkdepends=('python-pytest') +checkdepends=(python-pytest) source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") sha256sums=('8fb22fd626b3452957802abe9fba311d495481ddf91a2ecf8a41fc38377639e3') build() { cd $pkgname-$pkgver - ./setup.py build + python -m build --wheel --no-isolation } check() { @@ -30,7 +30,7 @@ check() { package() { cd $pkgname-$pkgver + install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" install -Dm644 doc/$pkgname.1 -t "$pkgdir/usr/share/man/man1" - ./setup.py install --root="$pkgdir" --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl } - |