pkgname=gammu pkgver=1.36.0 pkgrel=1 pkgdesc="GNU All Mobile Management Utilities" arch=('x86_64') url="http://wammu.eu/" license=('GPL') depends=('bluez' 'curl' 'libmysqlclient' 'postgresql-libs' 'python2' 'libusb' 'gnutls') makedepends=('cmake' 'doxygen' 'mysql') optdepends=('dialog: support for the gammu-config script') categories=('utils') source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2) sha512sums=('e482458f2610c5ecad94a106e520dffeba2e6981624883e725340eaa7a35c89f72ae9ae469b6cc71f0679616225a19742d8e3357fc838b87e2b570e4580a944b') build() { cd "$srcdir/$pkgname-$pkgver" cmake . -DCMAKE_INSTALL_PREFIX="/usr" make } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install }