optimize-images-x

LOW
maintainer Dominiquini 1 votes scanned 2026-08-20 03:10:35.909995
View on AUR
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
3pkgauthor="victordomingos"
4pkgname="optimize-images-x"
5pkgver=2.1.0
6pkgrel=1
7pkgdesc="A desktop app written in Python, that exposes and unlocks the full power of Optimize Images in a nice graphical user interface, to help you reduce the file size of images"
8
9_pypi_package=${pkgname}
10_pypi_version=${pkgver}
11
12license=('MIT')
13arch=('any')
14
15_url_pypi="https://pypi.org/project/${pkgname}/"
16_url_github="https://github.com/${pkgauthor}/${pkgname}"
17url="${_url_github}"
18
19provides=("${_pypi_package}")
20conflicts=("python-${pkgname}")
21
22makedepends=('python-setuptools' 'python-wheel' 'python-build' 'python-installer' 'python-hatchling')
23depends=('bash' 'optimize-images')
24
25source=("https://files.pythonhosted.org/packages/source/${_pypi_package::1}/${_pypi_package//-/_}/${_pypi_package//-/_}-${_pypi_version}.tar.gz")
26# source=("${_pypi_package}-${_pypi_version}.tar.gz::${_url_github}/archive/refs/tags/v${pkgver}.tar.gz")
27sha256sums=('4ed5ddde9ab43d59069d8898d6cde573640fa4686ae37bb019b40fb9831e1764')
28
29build() {
30 cd "${srcdir}/${_pypi_package//-/_}-${_pypi_version}/" || exit
31
32 python -m build --wheel --no-isolation
33}
34
35package() {
36 cd "${srcdir}/${_pypi_package//-/_}-${_pypi_version}/" || exit
37
38 python -m installer --destdir="${pkgdir}" dist/*.whl
39
40 install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
41
42 install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
43}
44

Scan history

Scanned at (UTC)SeverityRules
2026-08-20 03:10:35 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion