diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-06-20 15:25:33 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-06-20 15:25:33 -0300 |
commit | cebf33d7109e0157a80f34d6136e212f0a28d274 (patch) | |
tree | a6464302c970f72581105b50ff0896e1f56def3d /community/gnokii/PKGBUILD | |
parent | 1a65caeb80e2cc8c7b39262d72255124d0c8614e (diff) | |
parent | 5cb95ceee39e4691f768ea2fef60b8a106e92209 (diff) |
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'community/gnokii/PKGBUILD')
-rw-r--r-- | community/gnokii/PKGBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/community/gnokii/PKGBUILD b/community/gnokii/PKGBUILD new file mode 100644 index 000000000..83d8d9f4e --- /dev/null +++ b/community/gnokii/PKGBUILD @@ -0,0 +1,47 @@ +# $Id: PKGBUILD 90848 2013-05-14 21:40:33Z andrea $ +# Maintainer: +# Contributor: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Roman Kyrylych <roman@archlinux.org> +# Contributor: Aurelien Foret <orelien@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' 'mips64el') +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" +} |