summaryrefslogtreecommitdiff
path: root/pcr/freefilesync/PKGBUILD
blob: 4b9b9de4d64327257694617e43f3e1fb6466207d (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
48
# 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>
# Maintainer: freaj <freaj@riseup.net>

pkgname=freefilesync
pkgver=6.15
pkgrel=0
pkgdesc="Visual folder comparison and synchronization"
arch=('any')
url="http://sourceforge.net/projects/freefilesync/"
license=('GPLv3')
depends=(wxgtk webkitgtk2 boost)
conflicts=(freefilesync-ubuntu)
source=("http://downloads.sourceforge.net/project/zenxml/zenXml_2.2.zip"
	"http://downloads.sourceforge.net/project/freefilesync/FreeFileSync/$pkgver/FreeFileSync_${pkgver}_Source.zip" 
	FreeFileSync.desktop 
	ffsicon.png 
	RealtimeSync.desktop 
	rtsicon.png)
md5sums=('4c1f953b789d6dcbcb7eccab3d33e8ac'
	 '53dc5f7249877b0e3a2a76408f6526ee'
	 '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
}