PKGBUILDs/community/gammu/PKGBUILD
2009-10-09 21:15:33 -05:00

29 lines
916 B
Bash

# $Id: PKGBUILD 2569 2009-09-19 16:35:26Z ibiru $
# Maintainer: Corrado Primier <bardo@aur.archlinux.org>
# Contributor: Aurelien Foret <orelien@chez.com>
pkgname=gammu
pkgver=1.26.1
pkgrel=2
pkgdesc="GNU All Mobile Management Utilities"
arch=('i686' 'x86_64')
url="http://www.gammu.org/"
license=('GPL')
depends=('bluez' 'curl' 'libmysqlclient' 'postgresql-libs>=8.4.1' 'python')
makedepends=('cmake' 'doxygen' 'mysql')
optdepends=('dialog: support for the gammu-config script')
conflicts=('python-gammu')
provides=('python-gammu')
options=('!makeflags')
source=(http://dl.cihar.com/gammu/releases/${pkgname}-${pkgver}.tar.bz2)
md5sums=('ba8caab6b21a2ce0fa668f9403b8319a')
build() {
mkdir ${srcdir}/${pkgname}-${pkgver}/build
cd ${srcdir}/${pkgname}-${pkgver}/build
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX="/usr" ..
make || return 1
make DESTDIR=${pkgdir} install
}
# vim:set ts=2 sw=2 et: