updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / fcc / PKGBUILD
blob32240a7d0c49b44ee337f5bf1af37aaeecf41581
1 # Contributor: Jonathan Wiersma <archaur at jonw dot org>
2 pkgname=fcc
3 pkgver=10.014
4 pkgrel=2
5 pkgdesc="FirstClass Client Groupware Client"
6 arch=('i686' 'x86_64')
7 url='http://www.firstclass.com/Divisions/FAV13-0024FC95/?Plugin=FC&OpenItemURL=S047C50E4'
8 license=('unknown')
9 install="fcc.install"
10 if [ "$CARCH" = "i686" ]; then
11         depends=('alsa-lib' 'libart-lgpl' 'libjpeg6' 'libpng' 'qt3')
12 else
13         depends=('lib32-alsa-lib' 'libart-lgpl' 'lib32-libjpeg6' 'lib32-libpng' 'lib32-libpng12' 'lib32-qt3' 'qt3')
14         provides=("bin32-fcc=$pkgver")
15         conflicts=('bin32-fcc')
16         replaces=('bin32-fcc')
18 options=('emptydirs')
19 source=("fcc.install" "http://www3.firstclass.com/ClientDownloads/FC100ClientDownloadFiles/$pkgname-"${pkgver}"-Linux.i686.tar.bz2")
21 build() {
22         cd $srcdir/opt
23         find firstclass -type d ! -regex ".*[/]\.svn[/]?.*" \
24                 -exec install -dm755 $pkgdir/opt/{} \;
25         find firstclass -type f ! -regex ".*[/]\.svn[/]?.*" \
26                 -exec install -Dm644 {} $pkgdir/opt/{} \;
27         
28         install -m755 firstclass/fcc $pkgdir/opt/firstclass
29         cd $srcdir/usr/share/applications
30         install -d $pkgdir/usr/share/applications
31         install -m644 fcc.desktop $pkgdir/usr/share/applications
34 md5sums=('80bea1ae741374fc045f47505469bebf'
35          '639d14ec38c2a5637373592de77d9171')