Advertisement
jamesan

Changes to the PKGBUILD of the AUR package: sejda-desktop

Feb 19th, 2019
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.94 KB | None | 0 0
  1. diff --git a/PKGBUILD b/PKGBUILD
  2. index 1bf3bd3..1be8d29 100644
  3. --- a/PKGBUILD
  4. +++ b/PKGBUILD
  5. @@ -1,4 +1,5 @@
  6.  # Maintainer: Frederic Bezies <fredbezies at gmail dot com>
  7. +# Contributor: James An <[email protected]>
  8.  # Contributor: Jonas Heinrich <[email protected]>
  9.  
  10.  pkgname=sejda-desktop
  11. @@ -19,6 +20,11 @@ package() {
  12.  
  13.    # fix permissions
  14.    find "${pkgdir}" -type d -exec chmod 755 {} \;
  15. +  find "${pkgdir}" -type f -exec chmod 644 {} \;
  16. +  chmod 755 "${pkgdir}"/opt/sejda-desktop/resources/vendor/desktop-launcher/bin/desktop-launcher
  17. +  chmod 755 "${pkgdir}"/opt/sejda-desktop/resources/vendor/java/bin/java
  18. +  chmod 755 "${pkgdir}"/opt/sejda-desktop/sejda-desktop
  19. +  chmod 755 "${pkgdir}"/usr/bin/sejda-desktop
  20.  
  21.    # symlink licenses
  22.    install -d "${pkgdir}/usr/share/licenses/${pkgname}"
  23. @@ -26,5 +32,3 @@ package() {
  24.      ln -s /opt/sejda-desktop/${_i} "${pkgdir}/usr/share/licenses/${pkgname}/${_i}"
  25.    done
  26.  }
  27. -
  28. -
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement