39 Zeilen
1,1 KiB
Bash
39 Zeilen
1,1 KiB
Bash
# Maintainer: Sebastian Tobie <archlinux@sebastian-tobie.de>
|
|
# based on the PKGBUILD of sulis
|
|
|
|
pkgname=pdf-sign
|
|
pkgver=1.0
|
|
pkgrel=1
|
|
pkgdesc='Simple tool to sign PDFs using an saved signature'
|
|
arch=('x86_64')
|
|
url='https://github.com/svenssonaxel/pdf-sign'
|
|
license=('MIT')
|
|
depends=(
|
|
'ghostscript'
|
|
'python'
|
|
'qpdf'
|
|
'poppler'
|
|
)
|
|
optdepends=(
|
|
'tk: for interactive usage'
|
|
'pdftk: an alterative tool to process PDF for qpdf'
|
|
)
|
|
source=(
|
|
'pdf-create-empty'
|
|
'pdf-from-text'
|
|
'pdf-sign'
|
|
'empty-3inx2in.pdf'
|
|
)
|
|
sha256sums=(
|
|
'd6b3bd23a3fcf28561e152690332738babf5e71afde40e5727c643a5805ae76b'
|
|
'4a509aa3e787c3e617f151bcd25dd93adf9af3af477562c64988f7784395d40d'
|
|
'7b52792ead60257c57f4a12d727a882936f24b9cb3ae57d73beb90cdd7960707'
|
|
'a2fd2476c1d8364853c2382a8090d8fbc2f11fb4a535714e27a3069ce009eef3'
|
|
)
|
|
|
|
package() {
|
|
install -Dm755 -T pdf-create-empty "${pkgdir}/usr/bin/pdf-create-empty"
|
|
install -Dm755 -T pdf-from-text "${pkgdir}/usr/bin/pdf-from-text"
|
|
install -Dm755 -T pdf-sign "${pkgdir}/usr/bin/pdf-sign"
|
|
install -Dm644 -T empty-3inx2in.pdf "${pkgdir}/usr/share/doc/pdf-sign/examples/empty-3inx2in.pdf"
|
|
}
|