Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Contributor: chenxing <cxcxcxcx AT gmail DOT com>
- # Contributor: Michael Burkhard <Michael DOT Burkhard AT web DOT de>
- # Maintainer: alexmo82 <25396682 AT live DOT it>
- pkgname=freefilesync
- pkgver=8.4
- pkgrel=1
- pkgdesc="Backup software to synchronize files and folders"
- arch=('i686' 'x86_64')
- url="http://www.freefilesync.org/"
- license=('GPLv3')
- depends=(wxgtk webkitgtk2 boost-libs)
- makedepends=(boost)
- source=(
- "http://downloads.sourceforge.net/project/zenxml/zenXml_2.3.zip" #zen
- "FreeFileSync_${pkgver}_Source.zip::https://db.tt/aj0XhlCR" #ffs
- FreeFileSync.desktop
- ffsicon.png
- RealTimeSync.desktop
- rtsicon.png
- )
- md5sums=(
- '58baf96cb8e1136d10e1ada7419921c5' #zen source
- '7fb1e7b34d80eb8dd90d883d2ca6e925' #ffs source
- 'eab0ccfc6a88e229a0f07507b93cfcff' #FreeFileSync.desktop
- '1f452dff6f970d95839411008d86250b' #ffsicon.png
- 'ab266177f69d16ad9f4099ae4edd77a2' #RealTimeSync.desktop
- 'ee5587fa0a8d906ad416564e4daf5a06' #rtsicon.png
- )
- prepare() {
- cd ${srcdir}/zen
- sed -i 's/__GNUC__ < 6/__GNUC__ < 7/' scope_guard.h
- }
- build() {
- ### just in case of compile errors
- VER=`g++ --version`
- VER=`echo $VER | cut -d " " -f 1-4`
- echo "compiled with $VER"
- ### FFS
- cd ${srcdir}/FreeFileSync/Source
- make launchpad
- ### RTS
- cd RealTimeSync
- make launchpad
- }
- package() {
- cd ${srcdir}/FreeFileSync/Source
- make DESTDIR=${pkgdir} install
- cd RealTimeSync
- make DESTDIR=${pkgdir} install
- cd ${srcdir}
- install -Dm644 FreeFileSync.desktop $pkgdir/usr/share/applications/FreeFileSync.desktop
- install -Dm644 ffsicon.png $pkgdir/usr/share/pixmaps/ffsicon.png
- install -Dm644 RealTimeSync.desktop $pkgdir/usr/share/applications/RealTimeSync.desktop
- install -Dm644 rtsicon.png $pkgdir/usr/share/pixmaps/rtsicon.png
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement