summaryrefslogtreecommitdiff
path: root/pcr/freefilesync/PKGBUILD
blob: 5a2eba50fec0de068ae20e6413f57ba842446b8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Maintainer        : freaj <freaj@riseup.net>
# Contributor (Arch): chenxing <cxcxcxcx AT gmail DOT com>
# Contributor (Arch): Michael Burkhard <Michael DOT Burkhard AT web DOT de>
# Maintainer  (Arch): alexmo82 <25396682 AT live DOT it>

pkgname=freefilesync
pkgver=6.14
pkgrel=0
pkgdesc="Visual folder comparison and synchronization"
arch=('any')
url="http://sourceforge.net/projects/freefilesync/"
license=('GPLv3')
depends=(wxgtk webkitgtk2 boost)
source=("http://downloads.sourceforge.net/project/zenxml/zenXml_2.1.zip"
	"http://downloads.sourceforge.net/project/freefilesync/FreeFileSync/$pkgver/FreeFileSync_${pkgver}_Source.zip" 
	FreeFileSync.desktop 
	ffsicon.png 
	RealtimeSync.desktop 
	rtsicon.png)
md5sums=('d6eee89cdf8b08a2e057338013752c62'
	 'e9ccd9ef085fdfc7401472d2e9a3c90f'
	 'a7be7841f47f29d8e6210c8ab592a1e3'
	 '1f452dff6f970d95839411008d86250b'
	 '90152f1021f2d6fb6ab4fa511dc60fa9'
	 'ee5587fa0a8d906ad416564e4daf5a06')

build() {
  cd ${srcdir}/FreeFileSync/Source
  make launchpad

  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
}