[arch-commits] Commit in gammu/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:18:24 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:18:24
  Author: felixonmars
Revision: 659206

archrelease: copy trunk to community-staging-x86_64

Added:
  gammu/repos/community-staging-x86_64/
  gammu/repos/community-staging-x86_64/PKGBUILD
    (from rev 659205, gammu/trunk/PKGBUILD)

----------+
 PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

Copied: gammu/repos/community-staging-x86_64/PKGBUILD (from rev 659205, gammu/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 16:18:24 UTC (rev 659206)
@@ -0,0 +1,44 @@
+# 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.41.0
+pkgrel=2
+pkgdesc="GNU All Mobile Management Utilities"
+arch=('x86_64')
+url="https://wammu.eu/gammu/"
+license=('GPL')
+depends=('glib2' 'bluez-libs' 'curl' 'libdbi' 'mariadb-libs' '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=('8426b69b07b259de301f41163fab5587935e27b94cc5eefab9277773b3e4df8f')
+
+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