diff options
author | haawda | 2022-01-27 21:09:16 +0100 |
---|---|---|
committer | haawda | 2022-01-27 21:09:16 +0100 |
commit | 7cf68ceb3e2ba3c87a9e7c12a23d64d79223c931 (patch) | |
tree | 0cb6d6a0d32fd6862c70284a3372a9b4949ac776 /PKGBUILD | |
parent | 7f105bb47b39a63c40133b3cec97a5635a9e1061 (diff) | |
download | aur-yoga.tar.gz |
adopted, updated and corrected
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 14 insertions, 15 deletions
@@ -1,27 +1,26 @@ -# Maintainer: Popolon <popolon@popolon.org> +# Contributor: Popolon <popolon@popolon.org> +# Maintainer: Stefan Husmann <stefan-husmann@t-online.de> -pkgname=('yoga') -_module='yoga' -pkgver='1.1.2' +pkgname=yoga +pkgver=1.1.2 pkgrel=1 pkgdesc="Yummy Optimizer for Gorgeous Assets" url="https://github.com/wanadev/yoga" -depends=(python3 python-cffi python-pillow python-pycparser python-unidecode python-pyguetzli python-zopfli assimp python-mozjpeg-lossless-optimization) +depends=(python-cffi python-pillow python-pycparser python-unidecode + python-pyguetzli python-zopfli assimp + python-mozjpeg-lossless-optimization) makedepends=('python-setuptools') -license=('unknown') -arch=('any') -source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz") +license=('custom') +arch=('x86_64') +source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz") sha256sums=('745d3323a462d3a8ce3b7db6777dc758120720517a85a2175000b3db1286a68b') -build() { - cd "${srcdir}/${_module}-${pkgver}" +prepare() { + cd ${pkgname}-${pkgver} sed -i 's/--std=c++11/-Wno-error=stringop-overflow -Wno-error=array-bounds/' setup.py - #python3 setup.py build_py - #python3 yoga/model/assimp_build.py } package() { - depends+=() - cd "${srcdir}/${_module}-${pkgver}" - python3 setup.py install --root="${pkgdir}" --optimize=1 #--skip-build + cd ${pkgname}-${pkgver} + python setup.py install --root="${pkgdir}" --optimize=1 } |