optimize-images
LOW
maintainer Dominiquini
1 votes
scanned 2026-08-20 03:10:35.909995
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: Rafael Dominiquini <rafaeldominiquini at gmail dot com>
2
3
pkgauthor="victordomingos"
4
pkgname="optimize-images"
5
pkgver=2.1.0
6
pkgrel=1
7
pkgdesc="A command-line interface (CLI) utility written in pure Python to help you reduce the file size of images"
8
9
_pypi_package=${pkgname}
10
_pypi_version=${pkgver}
11
12
license=('MIT')
13
arch=('any')
14
15
_url_pypi="https://pypi.org/project/${pkgname}/"
16
_url_github="https://github.com/${pkgauthor}/${pkgname}"
17
url="${_url_github}"
18
19
provides=("${_pypi_package}")
20
conflicts=("python-${pkgname}")
21
22
makedepends=('python-setuptools' 'python-wheel' 'python-build' 'python-installer' 'python-hatchling')
23
depends=('python' 'python-pillow' 'python-watchdog')
24
optdepends=('optimize-images-x')
25
26
source=("https://files.pythonhosted.org/packages/source/${_pypi_package::1}/${_pypi_package//-/_}/${_pypi_package//-/_}-${_pypi_version}.tar.gz")
27
# source=("${_pypi_package}-${_pypi_version}.tar.gz::${_url_github}/archive/refs/tags/v${pkgver}.tar.gz")
28
sha256sums=('8c17211f80d00f762ef632532956fd8cae9440d2c3004b65cb4b0ce915a90fc5')
29
30
build() {
31
cd "${srcdir}/${_pypi_package//-/_}-${_pypi_version}/" || exit
32
33
python -m build --wheel --no-isolation
34
}
35
36
package() {
37
cd "${srcdir}/${_pypi_package//-/_}-${_pypi_version}/" || exit
38
39
python -m installer --destdir="${pkgdir}" dist/*.whl
40
41
install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
42
43
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
44
}
45
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-20 03:10:35 | Low | 1 |