image-width-limit/PKGBUILD

18 lines
460 B
Bash
Raw Normal View History

2021-09-15 17:27:01 +02:00
# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=image-width-limit
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=1.0.1
2021-09-15 17:27:01 +02:00
pkgrel=0
pkgdesc="Limit width of HTML images"
2021-09-15 17:27:01 +02:00
arch=('any')
license=('CC0')
2021-09-15 17:27:01 +02:00
depends=('python3' 'python-beautifulsoup4' 'python-html5lib')
source=("${_pkgname}".py)
sha256sums=('88b20a75bdfd7f0f0ff6054ff8a6e77783e21488ef3d8ecc5cfadb7fcdf37d6e')
package() {
install -Dm0755 "${_pkgname}".py "$pkgdir"/usr/bin/"${pkgname}"
}