optimize-images-x
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-x"
5
pkgver=2.1.0
6
pkgrel=1
7
pkgdesc="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
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=('bash' 'optimize-images')
24
25
source=("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")
27
sha256sums=('4ed5ddde9ab43d59069d8898d6cde573640fa4686ae37bb019b40fb9831e1764')
28
29
build() {
30
cd "${srcdir}/${_pypi_package//-/_}-${_pypi_version}/" || exit
31
32
python -m build --wheel --no-isolation
33
}
34
35
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-08-20 03:10:35 | Low | 1 |