mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 17:24:36 +08:00
44 lines
1.2 KiB
Bash
44 lines
1.2 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer: Fabian Kosmale <inkane@chakra-project.org>
|
|
# contributor (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# contributor (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=gnokii
|
|
pkgver=0.6.31
|
|
pkgrel=1
|
|
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'
|
|
'postgresql-libs: smsd postgresql backend')
|
|
backup=('etc/gnokiirc')
|
|
options=('!libtool' '!makeflags')
|
|
source=(http://www.gnokii.org/download/$pkgname/$pkgname-${pkgver}.tar.bz2)
|
|
md5sums=('d9627f4a1152d3ea7806df4532850d5f')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
# FS#13249
|
|
sed -i 's|cellphone|phone|' xgnokii/xgnokii.desktop.in
|
|
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--enable-security \
|
|
--disable-unix98test \
|
|
--disable-gtk2
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
install -Dm644 Docs/sample/gnokiirc "${pkgdir}/etc/gnokiirc"
|
|
}
|