summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlihe072024-11-26 10:01:33 +0800
committerlihe072024-11-26 10:01:33 +0800
commit54726808ad3b3872518db14fda24045efa663c73 (patch)
tree70a747155a5d1c7958c59041b9dda3d131ec1d94
parentff8abf4ae2e2054990c7093ff4c6f34a14f1bc39 (diff)
downloadaur-python-mozjpeg-lossless-optimization.tar.gz
update to v1.1.5
-rw-r--r--.SRCINFO8
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD19
3 files changed, 18 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ceb638cff5d4..f6b3b7dc85fc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 435b69a7516c..83435bbfda37 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}