You are here

18 October 2018

Use this content to replace PKGBUILD. Also you can freeze masterpdfeditor after installing this older version. This package can be found from the AUR git as well.

Source code viewer
  1. # Maintainer: Doug Newgard <scimmia at archlinux dot info>
  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=4.3.89
  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=("http://get.code-industry.net/public/master-pdf-editor-${pkgver}_qt5.amd64.tar.gz")
  15. sha1sums_x86_64=('254e05e0845ff73b7c932280c2bbe8d22aa4934c')
  16.  
  17. package() {
  18. depends=('gcc-libs' 'glibc' 'libgl' '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. }
Programming Language: Bash