diff options
Diffstat (limited to 'community/gammu/PKGBUILD')
-rw-r--r-- | community/gammu/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/gammu/PKGBUILD b/community/gammu/PKGBUILD new file mode 100644 index 000000000..49fd5a554 --- /dev/null +++ b/community/gammu/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 42312 2011-03-16 10:51:16Z jelle $ +# Maintainer: Ray Rashif <schiv@archlinux.org> +# Contributor: Corrado Primier <bardo@aur.archlinux.org> +# Contributor: Aurelien Foret <orelien@chez.com> + +pkgname=gammu +pkgver=1.29.0 +pkgrel=2 +pkgdesc="GNU All Mobile Management Utilities" +arch=('i686' 'x86_64') +url="http://wammu.eu/" +license=('GPL') +depends=('bluez' 'curl' 'libmysqlclient' + 'postgresql-libs' 'python2' 'libusb') +makedepends=('cmake' 'doxygen' 'mysql') +optdepends=('dialog: support for the gammu-config script') +options=('!makeflags') +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2) +md5sums=('5a860f37519fab3d2e7a42349b413738') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + cmake . -DCMAKE_INSTALL_PREFIX="/usr" + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install +} |