[arch-commits] Commit in gammu/repos/community-x86_64 (PKGBUILD PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Thu Jul 26 22:11:46 UTC 2018


    Date: Thursday, July 26, 2018 @ 22:11:45
  Author: eschwartz
Revision: 363648

archrelease: copy trunk to community-x86_64

Added:
  gammu/repos/community-x86_64/PKGBUILD
    (from rev 363647, gammu/trunk/PKGBUILD)
Deleted:
  gammu/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   82 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 45 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-26 22:11:17 UTC (rev 363647)
+++ PKGBUILD	2018-07-26 22:11:45 UTC (rev 363648)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
-# Contributor: Ray Rashif <schiv at archlinux.org>
-# Contributor: Corrado Primier <bardo at aur.archlinux.org>
-# Contributor: Aurelien Foret <orelien at chez.com>
-
-pkgname=gammu
-pkgver=1.39.0
-pkgrel=1
-pkgdesc="GNU All Mobile Management Utilities"
-arch=('x86_64')
-url="http://wammu.eu/gammu/"
-license=('GPL')
-depends=('glib2' 'bluez-libs' 'curl' 'libmariadbclient' 'postgresql-libs' 'libusb' 'libgudev')
-makedepends=('cmake' 'doxygen' 'python2')
-optdepends=('dialog: support for the gammu-config script' 'python2: for python bindings')
-source=(https://dl.cihar.com/$pkgname/releases/$pkgname-$pkgver.tar.xz)
-sha256sums=('66d1d991d7a993fdf254d4c425f0fdd38c9cca15b1735936695a486067a6a9f8')
-
-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
-
-  cmake . -DCMAKE_INSTALL_PREFIX="/usr" -DLIB_SUFFIX=""
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  make DESTDIR="${pkgdir}" install
-}

Copied: gammu/repos/community-x86_64/PKGBUILD (from rev 363647, gammu/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-07-26 22:11:45 UTC (rev 363648)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: Corrado Primier <bardo at aur.archlinux.org>
+# Contributor: Aurelien Foret <orelien at chez.com>
+
+pkgname=gammu
+pkgver=1.39.0
+pkgrel=2
+pkgdesc="GNU All Mobile Management Utilities"
+arch=('x86_64')
+url="http://wammu.eu/gammu/"
+license=('GPL')
+depends=('glib2' 'bluez-libs' 'curl' 'libdbi' 'libmariadbclient' 'postgresql-libs' 'libusb' 'libgudev')
+makedepends=('cmake' 'doxygen' 'python2')
+checkdepends=('libdbi-drivers')
+optdepends=('dialog: support for the gammu-config script' 'python2: for python bindings')
+source=(https://dl.cihar.com/$pkgname/releases/$pkgname-$pkgver.tar.xz)
+sha256sums=('66d1d991d7a993fdf254d4c425f0fdd38c9cca15b1735936695a486067a6a9f8')
+
+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
+
+  cmake . -DCMAKE_INSTALL_PREFIX="/usr" -DLIB_SUFFIX=""
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+
+  # tests can be flaky on slower hardware due to timing
+  make test
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list