[arch-commits] Commit in gammu/trunk (PKGBUILD)

Jaroslav Lichtblau jlichtblau at archlinux.org
Mon Feb 8 07:02:22 UTC 2016


    Date: Monday, February 8, 2016 @ 08:02:22
  Author: jlichtblau
Revision: 160862

upgpkg: gammu 1.37.0-1 - new upstream release

Modified:
  gammu/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-02-08 07:00:02 UTC (rev 160861)
+++ PKGBUILD	2016-02-08 07:02:22 UTC (rev 160862)
@@ -5,7 +5,7 @@
 # Contributor: Aurelien Foret <orelien at chez.com>
 
 pkgname=gammu
-pkgver=1.36.8
+pkgver=1.37.0
 pkgrel=1
 pkgdesc="GNU All Mobile Management Utilities"
 arch=('i686' 'x86_64')
@@ -15,16 +15,18 @@
 makedepends=('cmake' 'doxygen' 'mariadb' 'python2')
 optdepends=('dialog: support for the gammu-config script' 'python2: for python bindings')
 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz)
-sha256sums=('86a296c9c942e74d041f0ce5eef3b13a205d4da05019f06225d7cfd07d263710')
+sha256sums=('f0a597be5c5138691606b78a82a17c76769c6ed445b4b541fcc06520f3bea61f')
 
+prepare() {
+  cd "$pkgname-$pkgver"
+# bash completion dir change
+  sed -i 's,COMPLETIONSDIR "/etc/bash_completion.d",COMPLETIONSDIR "/usr/share/bash-completion/completions",' contrib/CMakeLists.txt
+}
+
 build() {
   cd "$pkgname-$pkgver"
 
-  # bash completion dir change
-  sed -i 's,COMPLETIONSDIR "/etc/bash_completion.d",COMPLETIONSDIR "/usr/share/bash-completion/completions",' contrib/CMakeLists.txt
-
   cmake . -DCMAKE_INSTALL_PREFIX="/usr" -DLIB_SUFFIX=""
-
   make
 }
 



More information about the arch-commits mailing list