summaryrefslogtreecommitdiffstats
path: root/kde/gnokii/Pkgfile
blob: ab7312682e685caa9cd252fa27ab0777c5ca44ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Description: Outils pour l'usage des téléphones portable dans kdepim
# URL: http://www.gnokii.org/
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: xorg-libxpm, libpostgresql, p5-xml-parser, gtk, glib, mysqlclient, libical, libusb

name=gnokii
version=0.6.29
release=2
source=(http://www.gnokii.org/download/$name/$name-$version.tar.bz2 \
	gnokii.patch)

build() {
	cd $name-*
	sed -i 's|cellphone|phone|' xgnokii/xgnokii.desktop.in
	patch -Np1 -i $SRC/gnokii.patch 
 	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--enable-security \
		--disable-unix98test

	make 
	make DESTDIR=$PKG install
	
	install -Dm644 Docs/sample/gnokiirc $PKG/etc/gnokiirc
	sed -i -e 's:/usr/local:/usr:' $PKG/etc/gnokiirc

	chmod 4755 $PKG/usr/sbin/mgnokiidev
	
	install -Dm644 Docs/sample/logo/gnokii.xpm $PKG/usr/share/pixmaps/xgnokii.xpm

}