summaryrefslogtreecommitdiffstats
path: root/kde
diff options
context:
space:
mode:
Diffstat (limited to 'kde')
-rw-r--r--kde/gnokii/.footprint6
-rwxr-xr-xkde/gnokii/Pkgfile21
2 files changed, 21 insertions, 6 deletions
diff --git a/kde/gnokii/.footprint b/kde/gnokii/.footprint
index 198dd89ca..98f78af40 100644
--- a/kde/gnokii/.footprint
+++ b/kde/gnokii/.footprint
@@ -1,3 +1,5 @@
+drwxr-xr-x root/root etc/
+-rw-r--r-- root/root etc/gnokiirc
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/gnokii
@@ -42,7 +44,7 @@ drwxr-xr-x root/root usr/lib/smsd/
-rwxr-xr-x root/root usr/lib/smsd/libsmsd_pq.la
-rwxr-xr-x root/root usr/lib/smsd/libsmsd_pq.so
drwxr-xr-x root/root usr/sbin/
--rwxr-xr-x root/root usr/sbin/mgnokiidev
+-rwsr-xr-x root/root usr/sbin/mgnokiidev
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/applications/
-rw-r--r-- root/root usr/share/applications/xgnokii.desktop
@@ -126,3 +128,5 @@ drwxr-xr-x root/root usr/share/man/man8/
-rw-r--r-- root/root usr/share/man/man8/gnokiid.8.gz
-rw-r--r-- root/root usr/share/man/man8/mgnokiidev.8.gz
-rw-r--r-- root/root usr/share/man/man8/smsd.8.gz
+drwxr-xr-x root/root usr/share/pixmaps/
+-rw-r--r-- root/root usr/share/pixmaps/xgnokii.xpm
diff --git a/kde/gnokii/Pkgfile b/kde/gnokii/Pkgfile
index e02fcf5c1..ab7312682 100755
--- a/kde/gnokii/Pkgfile
+++ b/kde/gnokii/Pkgfile
@@ -2,20 +2,31 @@
# URL: http://www.gnokii.org/
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
-# Depends on: p5-xml-parser, gtk, glib, mysqlclient, libical, libusb
+# Depends on: xorg-libxpm, libpostgresql, p5-xml-parser, gtk, glib, mysqlclient, libical, libusb
name=gnokii
version=0.6.29
-release=1
+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
- make
+ 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
}