From 2e5b72e5e8dfb5199a9b0da7c76d052a456662c2 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 14 May 2013 01:18:40 -0700 Subject: Tue May 14 01:18:40 PDT 2013 --- community/gnokii/PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 community/gnokii/PKGBUILD (limited to 'community/gnokii/PKGBUILD') diff --git a/community/gnokii/PKGBUILD b/community/gnokii/PKGBUILD new file mode 100644 index 000000000..98bdd0b23 --- /dev/null +++ b/community/gnokii/PKGBUILD @@ -0,0 +1,46 @@ +# $Id: PKGBUILD 90761 2013-05-13 18:04:36Z heftig $ +# Maintainer: +# Contributor: Andrea Scarpino +# Contributor: Roman Kyrylych +# Contributor: Aurelien Foret + +pkgname=gnokii +pkgver=0.6.31 +pkgrel=3 +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 "${srcdir}/${pkgname}-${pkgver}" + + # FS#13249 + sed -i 's|cellphone|phone|' xgnokii/xgnokii.desktop.in + + patch -Np1 -i "${srcdir}/gnokii.patch" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --enable-security \ + --disable-unix98test + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -Dm644 Docs/sample/gnokiirc "${pkgdir}/etc/gnokiirc" +} -- cgit v1.2.3-54-g00ecf