# Maintainer: Pekka Helenius pkgname=kde-servicemenus-unlockpdf pkgver=1 pkgrel=1 pkgdesc="Unlock PDF files using Dolphin or Konqueror (KDE5 Dolphin action)" arch=('any') license=('GPL') depends=('ghostscript' 'dolphin') source=( 'pdfunlock.desktop' 'pdfunlock.sh' ) md5sums=('44ee294b4b8c640d00883f482646fce8' 'c046c519ca61d11b2cf4822c3ea371c8') package() { mkdir -p ${pkgdir}/usr/share/kservices5/ServiceMenus/ cp ${srcdir}/{pdfunlock.desktop,pdfunlock.sh} ${pkgdir}/usr/share/kservices5/ServiceMenus/ chmod 755 ${pkgdir}/usr/share/kservices5/ServiceMenus/{pdfunlock.desktop,pdfunlock.sh} }