updated on Mon Jan 23 00:00:36 UTC 2012
[aur-mirror.git] / simias / PKGBUILD
blobc71ef72c3a909ae1bb4167c7c65d1d71333d117b
1 # Maintainer: Joerg Rueppel <joerg@sharky-x.de>
2 # Contributor: William Rea <sillywilly@gmail.com>
3 # Contributor: Frane Bandov <frane@offbyte.com>
5 pkgname=simias
6 pkgver=3.8.0.3
7 pkgrel=1
8 url="http://www.ifolder.com"
9 arch=('i686' 'x86_64')
10 pkgdesc="Collection Storage Provider - Basis for iFolders"
11 options=('!libtool' '!strip')
12 license=("GPL")
13 makedepends=('libflaim')
14 depends=('libxml2' 'log4net')
15 source=(http://downloads.sourceforge.net/project/ifolder/iFolder%20Clients/$pkgver/simias.tar.gz \
16         CSPType.patch flaimwrapper-lib.patch\
17         whitelist-home.patch
20 md5sums=('a3b85f8291b25bd3bdeda1b99b6aa2c0'
21          '9e1e02ed644cf3437febdf890b9b21a3'
22          '5f6e5712550416fd864d8d10281f0257'
23          'c206f3b0a613ca25490437eff3040a5a')
25 build() {
26   # this is needed temporarily for the build
27   # beware when changing this line.
28   # the dir referenced by MONO_SHARED_DIR
29   # will be deleted further down
30   export MONO_SHARED_DIR=$srcdir/.wabi
31   mkdir -p $MONO_SHARED_DIR
33   cd $srcdir/$pkgname
35   # if anything wrong, there are more patches to find
36   # here in the suse repository:
37   # https://build.opensuse.org/package/files?package=ifolder3&project=network%3Aifolder%3AFactory
38   patch -p0 -i ../CSPType.patch
39   patch -p0 -i ../flaimwrapper-lib.patch
40   patch -p0 -i ../whitelist-home.patch
42   # the makefiles don't have proper dependency handling
43   export MAKEFLAGS="-j1"
45   ./autogen.sh --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib/simias --sysconfdir=/etc || return 1
46   make || return 1
47   make DESTDIR=$pkgdir install || return 1
49   # remove dir needed for build
50   rm -r $MONO_SHARED_DIR