Advertisement
Guest User

Untitled

a guest
Sep 12th, 2016
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. # Contributor: chenxing <cxcxcxcx AT gmail DOT com>
  2. # Contributor: Michael Burkhard <Michael DOT Burkhard AT web DOT de>
  3. # Maintainer: alexmo82 <25396682 AT live DOT it>
  4.  
  5. pkgname=freefilesync
  6. pkgver=8.4
  7. pkgrel=1
  8. pkgdesc="Backup software to synchronize files and folders"
  9. arch=('i686' 'x86_64')
  10. url="http://www.freefilesync.org/"
  11. license=('GPLv3')
  12. depends=(wxgtk webkitgtk2 boost-libs)
  13. makedepends=(boost)
  14. source=(
  15. "http://downloads.sourceforge.net/project/zenxml/zenXml_2.3.zip" #zen
  16. "FreeFileSync_${pkgver}_Source.zip::https://db.tt/aj0XhlCR" #ffs
  17. FreeFileSync.desktop
  18. ffsicon.png
  19. RealTimeSync.desktop
  20. rtsicon.png
  21. )
  22. md5sums=(
  23. '58baf96cb8e1136d10e1ada7419921c5' #zen source
  24. '7fb1e7b34d80eb8dd90d883d2ca6e925' #ffs source
  25. 'eab0ccfc6a88e229a0f07507b93cfcff' #FreeFileSync.desktop
  26. '1f452dff6f970d95839411008d86250b' #ffsicon.png
  27. 'ab266177f69d16ad9f4099ae4edd77a2' #RealTimeSync.desktop
  28. 'ee5587fa0a8d906ad416564e4daf5a06' #rtsicon.png
  29. )
  30.  
  31. prepare() {
  32. cd ${srcdir}/zen
  33. sed -i 's/__GNUC__ < 6/__GNUC__ < 7/' scope_guard.h
  34. }
  35.  
  36. build() {
  37. ### just in case of compile errors
  38. VER=`g++ --version`
  39. VER=`echo $VER | cut -d " " -f 1-4`
  40. echo "compiled with $VER"
  41.  
  42. ### FFS
  43. cd ${srcdir}/FreeFileSync/Source
  44. make launchpad
  45.  
  46. ### RTS
  47. cd RealTimeSync
  48. make launchpad
  49. }
  50.  
  51. package() {
  52. cd ${srcdir}/FreeFileSync/Source
  53. make DESTDIR=${pkgdir} install
  54.  
  55. cd RealTimeSync
  56. make DESTDIR=${pkgdir} install
  57.  
  58. cd ${srcdir}
  59. install -Dm644 FreeFileSync.desktop $pkgdir/usr/share/applications/FreeFileSync.desktop
  60. install -Dm644 ffsicon.png $pkgdir/usr/share/pixmaps/ffsicon.png
  61. install -Dm644 RealTimeSync.desktop $pkgdir/usr/share/applications/RealTimeSync.desktop
  62. install -Dm644 rtsicon.png $pkgdir/usr/share/pixmaps/rtsicon.png
  63. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement