daily pastebin goal
21%
SHARE
TWEET

dirsyncpro PKGBUILD

a guest Apr 17th, 2016 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Benjamin Bukowski <benjamin.bukowski<at>gmail.com>
  2. # Contributor: b00rt00s ( bomby dot zrzuc at gmail dot com )
  3. _realname="DirSync Pro"
  4. _pkgname=DirSyncPro
  5. pkgname=dirsyncpro
  6. pkgver=1.51
  7. pkgrel=2
  8. pkgdesc="A small but powerfull utility for file and folder synchronisation"
  9. arch=('i686' 'x86_64')
  10. url="http://www.dirsyncpro.org/"
  11. license=('GPL')
  12. depends=('java-runtime')
  13. backup=()
  14. source=("http://downloads.sourceforge.net/project/directorysync/DirSync%20Pro%20%28stable%29/${pkgver}/${_pkgname}-${pkgver}-Linux.tar.gz"
  15.         "dirsyncpro-home-wd.patch"
  16.         "dirsyncpro.desktop"
  17.         "dirsyncpro.install")
  18.  
  19. install="dirsyncpro.install"
  20.  
  21. build() {
  22.   cd "$srcdir/$_pkgname-$pkgver-Linux"
  23.    
  24.   msg "Apply some patches..."
  25.   patch -Np1 -i ../dirsyncpro-home-wd.patch
  26. }
  27.  
  28. package() {
  29.   cd "$srcdir/$_pkgname-$pkgver-Linux"
  30.  
  31.   install -dm755 $pkgdir/opt/$pkgname/ \
  32.                  $pkgdir/usr/bin/ || return 1
  33.  
  34.   install -m644 ./* $pkgdir/opt/$pkgname/ || return 1  
  35.  
  36.   chmod +x $pkgdir/opt/$pkgname/$pkgname.sh
  37.  
  38.   ln -s /opt/$pkgname/$pkgname.sh $pkgdir/usr/bin/$pkgname
  39.  
  40.   #installing icon
  41.   cd $pkgdir/opt/dirsyncpro
  42.   jar xf dirsyncpro.jar icons/DirSyncPro48x48.png
  43.  
  44.   #installing dirsyncpro.desktop
  45.   mkdir -p $pkgdir/usr/share/applications
  46.   install -m644 $srcdir/dirsyncpro.desktop $pkgdir/usr/share/applications
  47. }
  48.  
  49. md5sums=('deaaf7ea8a51dff3dbaa25a1558e6b88'
  50.          '08ad637c654d21fb52a86d252ac89865'
  51.          'c42af3067a4cfdb98e521c59a68aca5e'
  52.          'caabe467168af9e44cf380af1abfe280')
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