blob: caccb28ba50d8ea74c6f64d9cbb938e062e0aced (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Maintainer: Iyán Méndez Veiga <me (at) iyanmv (dot) com>
# Contributor: Caltlgin Stsodaat <contact@fossdaily.xyz>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=pdf-compress
pkgver=1.9.2
pkgrel=1
pkgdesc='Compress an overlarge pdf file'
arch=("any")
url='https://www.timedicer.co.uk/programs/help/pdf-compress.sh.php'
license=("APACHE")
depends=(
"ghostscript"
"imagemagick"
)
optdepends=(
"qpdf: further 10% compression or slightly better quality"
"perl-image-exiftool: used to update the metadata in the destination file"
)
source=("${pkgname}-${pkgver}.sh::https://www.timedicer.co.uk/programs/${pkgname}.sh")
b2sums=('dba8de78e4d67a1bee879260b7f5ccc87fc2702fdfbc9f84b164662e122807782e9b7fff4c8b843203078e26d6e93afda939c8b81865bab43469f4dc281dd4e4')
package() {
install -Dm755 "${pkgname}-${pkgver}.sh" "${pkgdir}/usr/bin/${pkgname}"
}
|