SHARE
TWEET

PKGBUILD_masterpdfeditor

a guest Jan 4th, 2020 254 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Doug Newgard <scimmia at archlinux dot org>
  2. # Contributor: Jiachen Yang <farseerfc@gmail.com>
  3. # Contributor: Miguel Revilla <yo@miguelrevilla.com>
  4. # Contributor: Ferik <djferik at gmail dot com>
  5.  
  6. pkgname=masterpdfeditor
  7. pkgver=5.4.38
  8. pkgrel=1
  9. pkgdesc='A complete solution for creation and editing PDF files'
  10. url='https://code-industry.net/free-pdf-editor/'
  11. arch=('x86_64')
  12. license=('custom')
  13. makedepends=('patchelf')
  14. source_x86_64=("https://code-industry.net/public/master-pdf-editor-${pkgver}-qt5-all.amd64.tar.gz")
  15. sha1sums_x86_64=('bff9d66b531e60603a9221cf6bd2595c6bf602d6')
  16.  
  17. package() {
  18.   depends=('gcc-libs' 'glibc' 'libgl' 'nspr' 'nss' 'qt5-base' 'qt5-svg' 'sane')
  19.  
  20.   install -d "$pkgdir"{/opt/,/usr/bin/}
  21.   cp -a --no-preserve=ownership master-pdf-editor-${pkgver%%.*} "$pkgdir/opt/"
  22.  
  23.   cd "$pkgdir/opt/master-pdf-editor-${pkgver%%.*}"
  24.   ln -sr masterpdfeditor${pkgver%%.*} -t "$pkgdir/usr/bin/"
  25.   install -Dm644 masterpdfeditor${pkgver%%.*}.desktop -t "$pkgdir/usr/share/applications/"
  26.   install -Dm644 license.txt -t "$pkgdir/usr/share/licenses/$pkgname/"
  27.   patchelf --remove-rpath masterpdfeditor${pkgver%%.*}
  28. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top