File PKGBUILD of Package pdfunlock

# Maintainer: Stephan Brunner <s.brunner@stephan-brunner.net>

pkgname=pdfunlock
pkgver=0.1
pkgrel=2
pkgdesc="Aims to remove modification restrictions from PDF files"
arch=('any')
url="https://github.com/boomer41/PdfUnlock"
license=('MIT')
depends=('ghostscript'
         'poppler'
         'coreutils')
source=(${pkgname}-v${pkgver}.zip)
sha256sums=('4390a18cd94e9d14a74cdd59394715c53b097bd76b6bd0fbc55290c88fc074ed')

package() {
    cd "${srcdir}/PdfUnlock-${pkgver}"
    install -Dm755 pdfunlock "${pkgdir}/usr/bin/pdfunlock"
    install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
openSUSE Build Service is sponsored by