SHARE
TWEET

Untitled

a guest May 17th, 2018 480 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Muflone http://www.muflone.com/contacts/english/
  2. # Contributor: Alexey Stukalov <astukalov@gmail.com>
  3.  
  4. pkgname=smartsynchronize
  5. pkgver=3.5.0
  6. pkgrel=1
  7. pkgdesc="Comparing Directories the Smart Way"
  8. arch=("any")
  9. url="https://www.syntevo.com/smartsynchronize/"
  10. license=('custom')
  11. depends=('java-runtime>=8' 'gtk3' 'gtk-update-icon-cache')
  12. source=("https://www.syntevo.com/downloads/${pkgname}/${pkgname}-linux-${pkgver//\./_}.tar.gz"
  13.         "${pkgname}.desktop")
  14. sha256sums=('2ff97e7433ca78bdfb2ce62409e624b94f9bcd8b76d603c2493db307df1acb9d'
  15.             'ee21447d20ef52b65f5becb7a004c10acb925d4219d42f3be2aae61115d9f52f')
  16.  
  17. package() {
  18.   # Install desktop file
  19.   install -m 755 -d "${pkgdir}/usr/share/applications"
  20.   install -m 755 -t "${pkgdir}/usr/share/applications" "${pkgname}.desktop"
  21.   cd "${pkgname}"
  22.   # Install license files
  23.   install -m 755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  24.   install -m 644 -t "${pkgdir}/usr/share/licenses/${pkgname}" license.html licenses/*
  25.   # Install documentation files
  26.   install -m 755 -d "${pkgdir}/usr/share/doc/${pkgname}"
  27.   install -m 644 -t "${pkgdir}/usr/share/doc/${pkgname}" readme-linux.txt changelog.txt smartsynchronize.pdf
  28.   # Install launcher files
  29.   install -m 755 -d "${pkgdir}/usr/lib/${pkgname}/bin"
  30.   install -m 755 -t "${pkgdir}/usr/lib/${pkgname}/bin" bin/smartsynchronize.sh
  31.   install -m 755 -d "${pkgdir}/usr/bin"
  32.   ln -s "/usr/lib/${pkgname}/bin/smartsynchronize.sh" "${pkgdir}/usr/bin/${pkgname}"
  33.   # Install library files
  34.   install -m 755 -d "${pkgdir}/usr/lib/${pkgname}/lib"
  35.   install -m 644 -t "${pkgdir}/usr/lib/${pkgname}/lib" lib/*
  36.   # Install icon files
  37.   for _size in 32 48 64 128 256
  38.   do
  39.     install -m 644 -D "bin/${pkgname}-${_size}.png" "${pkgdir}/usr/share/icons/hicolor/${_size}x${_size}/apps/${pkgname}.png"
  40.   done
  41. }
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