summaryrefslogtreecommitdiff
path: root/community/gammu
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/gammu
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/gammu')
-rw-r--r--community/gammu/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/gammu/PKGBUILD b/community/gammu/PKGBUILD
new file mode 100644
index 000000000..87dc285f4
--- /dev/null
+++ b/community/gammu/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 93846 2013-07-11 08:52:45Z schiv $
+# Maintainer: Ray Rashif <schiv@archlinux.org>
+# Contributor: Corrado Primier <bardo@aur.archlinux.org>
+# Contributor: Aurelien Foret <orelien@chez.com>
+
+pkgname=gammu
+pkgver=1.33.0
+pkgrel=1
+pkgdesc="GNU All Mobile Management Utilities"
+arch=('i686' 'x86_64')
+url="http://wammu.eu/"
+license=('GPL')
+depends=('glib2' 'bluez-libs' 'curl' 'libmariadbclient' 'postgresql-libs' 'libusb')
+makedepends=('cmake' 'doxygen' 'mariadb' 'python2')
+optdepends=('dialog: support for the gammu-config script')
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2")
+md5sums=('3f46afcc16829175d2d9060ac15813e8')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ # bash completion dir change
+ sed -i 's,DESTINATION "/etc/bash_completion.d",DESTINATION "/usr/share/bash-completion/completions",' contrib/CMakeLists.txt
+
+ cmake . -DCMAKE_INSTALL_PREFIX="/usr" -DLIB_SUFFIX=""
+
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et: