1 # Contributor: rich_o <rich_o@lavabit.com>
6 pkgdesc="GNU All Mobile Management Utilities"
8 url="http://www.gammu.org/"
10 depends=('bluez' 'curl')
11 makedepends=('cmake' 'doxygen' 'python' 'git')
12 optdepends=('dialog: support for the gammu-config script')
13 conflicts=('python-gammu' 'gammu' 'gammu-svn')
14 provides=('python-gammu' 'gammu')
15 options=('!makeflags')
19 _gitroot="git://gitorious.org/gammu/mainline.git"
24 msg "Connecting to GIT server...."
28 msg "GIT checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf "$srcdir/$_gitname-build"
32 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
33 cd "$srcdir/$_gitname-build"
35 cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX="/usr" .
37 make DESTDIR="$pkgdir/" install