gqview: take over from sip, keep desktop files

This commit is contained in:
Juergen Daubert 2009-01-22 13:25:44 +01:00
parent 988920604d
commit ba24f67c9d
2 changed files with 13 additions and 7 deletions

View File

@ -4,3 +4,8 @@ drwxr-xr-x root/root usr/bin/
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/gqview.1.gz
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/applications/
-rw-r--r-- root/root usr/share/applications/gqview.desktop
drwxr-xr-x root/root usr/share/pixmaps/
-rw-r--r-- root/root usr/share/pixmaps/gqview.png

View File

@ -1,17 +1,18 @@
# Description: An image viewer for X
# URL: http://gqview.sourceforge.net/
# Maintainer: Simone Rota, sip at crux dot nu
# Maintainer: Juergen Daubert, juergen dot daubert at t-onlione dot de
# Depends on: gtk
name=gqview
version=2.0.4
release=1
release=2
source=(http://dl.sourceforge.net/gqview/$name-$version.tar.gz)
build() {
cd $name-$version
./configure --prefix=/usr --disable-nls
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share
cd $name-$version
./configure --prefix=/usr --disable-nls
make
make DESTDIR=$PKG install
sed -ri '/\[.+\]=/d' $PKG/usr/share/applications/*.desktop
rm -rf $PKG/usr/share/{doc,locale}
}