[arch-commits] Commit in gnokii/repos (3 files)

Andrea Scarpino andrea at nymeria.archlinux.org
Mon May 13 18:23:21 UTC 2013


    Date: Monday, May 13, 2013 @ 20:23:21
  Author: andrea
Revision: 90765

archrelease: copy trunk to community-staging-x86_64

Added:
  gnokii/repos/community-staging-x86_64/
  gnokii/repos/community-staging-x86_64/PKGBUILD
    (from rev 90764, gnokii/trunk/PKGBUILD)
  gnokii/repos/community-staging-x86_64/gnokii.patch
    (from rev 90764, gnokii/trunk/gnokii.patch)

--------------+
 PKGBUILD     |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 gnokii.patch |   12 ++++++++++++
 2 files changed, 59 insertions(+)

Copied: gnokii/repos/community-staging-x86_64/PKGBUILD (from rev 90764, gnokii/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2013-05-13 18:23:21 UTC (rev 90765)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Roman Kyrylych <roman at archlinux.org>
+# Contributor: Aurelien Foret <orelien at chez.com>
+
+pkgname=gnokii
+pkgver=0.6.31
+pkgrel=4
+pkgdesc="Tools and user space driver for use with mobile phones"
+arch=('i686' 'x86_64')
+url="http://www.gnokii.org/"
+license=('GPL')
+depends=('libusb-compat' 'libxpm' 'bluez' 'libical')
+makedepends=('gtk2' 'libmariadbclient' 'postgresql-libs' 'intltool' 'mariadb')
+optdepends=('gtk2: xgnokii GUI'
+            'libmariadbclient: smsd mysql backend'
+            'postgresql-libs: smsd postgresql backend')
+backup=('etc/gnokiirc')
+options=('!libtool' '!makeflags')
+source=("http://www.gnokii.org/download/$pkgname/$pkgname-${pkgver}.tar.bz2"
+        'gnokii.patch')
+md5sums=('d9627f4a1152d3ea7806df4532850d5f'
+         'fd1c448114c2e0de8e05981030f0e69f')
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  # FS#13249
+  sed -i 's|cellphone|phone|' xgnokii/xgnokii.desktop.in
+
+  patch -Np1 -i "${srcdir}/gnokii.patch"
+
+  ./configure --prefix=/usr \
+    --sysconfdir=/etc \
+    --sbindir=/usr/bin \
+    --enable-security \
+    --disable-unix98test
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+
+  install -Dm644 Docs/sample/gnokiirc "${pkgdir}/etc/gnokiirc"
+}

Copied: gnokii/repos/community-staging-x86_64/gnokii.patch (from rev 90764, gnokii/trunk/gnokii.patch)
===================================================================
--- community-staging-x86_64/gnokii.patch	                        (rev 0)
+++ community-staging-x86_64/gnokii.patch	2013-05-13 18:23:21 UTC (rev 90765)
@@ -0,0 +1,12 @@
+diff -Nura gnokii-0.6.31.orig/Docs/sample/gnokiirc gnokii-0.6.31/Docs/sample/gnokiirc
+--- gnokii-0.6.31.orig/Docs/sample/gnokiirc	2011-12-02 15:53:04.000000000 +0100
++++ gnokii-0.6.31/Docs/sample/gnokiirc	2012-02-18 12:49:26.957557504 +0100
+@@ -238,7 +238,7 @@
+ # In particular ensure that mgnokiidev is in this location, with
+ # permissions 4750, owned by root, group gnokii.  Ensure you
+ # are in the gnokii group and that the group exists...
+-bindir = /usr/local/sbin/
++bindir = /usr/sbin/
+ 
+ # Any entries in the following two sections will be set as environment
+ # variables when running the scripts.




More information about the arch-commits mailing list