diff options
author | lihe07 | 2024-11-26 10:01:33 +0800 |
---|---|---|
committer | lihe07 | 2024-11-26 10:01:33 +0800 |
commit | 54726808ad3b3872518db14fda24045efa663c73 (patch) | |
tree | 70a747155a5d1c7958c59041b9dda3d131ec1d94 | |
parent | ff8abf4ae2e2054990c7093ff4c6f34a14f1bc39 (diff) | |
download | aur-python-mozjpeg-lossless-optimization.tar.gz |
update to v1.1.5
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 19 |
3 files changed, 18 insertions, 13 deletions
@@ -1,7 +1,7 @@ pkgbase = python-mozjpeg-lossless-optimization pkgdesc = Optimize JPEGs losslessly using MozJPEG - pkgver = 1.1.3 - pkgrel = 5 + pkgver = 1.1.5 + pkgrel = 1 url = https://github.com/wanadev/mozjpeg-lossless-optimization arch = x86_64 arch = armv7h @@ -15,8 +15,8 @@ pkgbase = python-mozjpeg-lossless-optimization makedepends = python-pip makedepends = gcc depends = python>=3 - source = https://files.pythonhosted.org/packages/source/m/mozjpeg-lossless-optimization/mozjpeg-lossless-optimization-1.1.3.tar.gz - sha256sums = 725d98772e943fca18b0801cb94e645c477ff52e56ad0b27bddb76ddf091ca3e + source = https://files.pythonhosted.org/packages/source/m/mozjpeg-lossless-optimization/mozjpeg_lossless_optimization-1.1.5.tar.gz + sha256sums = a78cb0fd361b01c26bb5f1d986ef4fa4026877b1a95925facaeec997ff250288 pkgname = python-mozjpeg-lossless-optimization depends = python>=3 diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..9acdf966c1a9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +pkg +src +*.tar.gz +*.pkg.tar.zst @@ -1,25 +1,26 @@ # Maintainer: Popolon <popolon@popolon.org> _module='mozjpeg-lossless-optimization' +_module_underscore="${_module//-/_}" pkgname=python-${_module} -pkgver='1.1.3' -pkgrel=5 +pkgver='1.1.5' +pkgrel=1 pkgdesc="Optimize JPEGs losslessly using MozJPEG" url="https://github.com/wanadev/mozjpeg-lossless-optimization" depends=('python>=3') makedepends=('cmake' 'python-build' 'python-installer' 'python-pip' 'gcc') license=('BSD') arch=(x86_64 armv7h aarch64 riscv32 riscv64) -source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz") -sha256sums=('725d98772e943fca18b0801cb94e645c477ff52e56ad0b27bddb76ddf091ca3e') +source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module_underscore-$pkgver.tar.gz") +sha256sums=('a78cb0fd361b01c26bb5f1d986ef4fa4026877b1a95925facaeec997ff250288') build() { - cd "${srcdir}/${_module}-${pkgver}" - python -m build --wheel --no-isolation + cd "${srcdir}/${_module_underscore}-${pkgver}" + python -m build --wheel --no-isolation } package() { - depends+=() - cd "${srcdir}/${_module}-${pkgver}" - python -m installer --destdir="${pkgdir}" dist/*.whl + depends+=() + cd "${srcdir}/${_module_underscore}-${pkgver}" + python -m installer --destdir="${pkgdir}" dist/*.whl } |