core/gnokii/PKGBUILD

47 lines
1.2 KiB
Bash
Raw Normal View History

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
2010-03-14 23:48:48 +08:00
pkgname=gnokii
pkgver=0.6.30
2011-09-03 04:25:31 +08:00
pkgrel=2
2010-03-14 23:48:48 +08:00
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=('libmysqlclient' 'postgresql-libs' 'intltool')
optdepends=('libmysqlclient: smsd mysql backend'
2010-03-14 23:48:48 +08:00
'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=('c90137d403febbc16712d64f0eb196de'
2010-03-14 23:48:48 +08:00
'4d764727686ee34bc73489c8b1321c82')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
2010-03-14 23:48:48 +08:00
# FS#13249
2011-09-03 04:25:31 +08:00
sed -i 's|cellphone|phone|' xgnokii/xgnokii.desktop.in
2010-03-14 23:48:48 +08:00
2011-09-03 04:25:31 +08:00
patch -Np1 -i "${srcdir}/gnokii.patch"
2010-03-14 23:48:48 +08:00
./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-security \
--disable-unix98test \
2011-09-03 04:25:31 +08:00
--disable-gtk2
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
2010-03-14 23:48:48 +08:00
2011-09-03 04:25:31 +08:00
install -Dm644 Docs/sample/gnokiirc "${pkgdir}/etc/gnokiirc"
2010-03-14 23:48:48 +08:00
}