From e21c99ef1c4939a51ca74a1d05ddfca6bd99a2b4 Mon Sep 17 00:00:00 2001 From: Thierry N Date: Mon, 10 Aug 2009 23:11:00 +0200 Subject: Ajout de gv#3.6.7-2 --- extra/gv/Pkgfile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 extra/gv/Pkgfile (limited to 'extra/gv/Pkgfile') diff --git a/extra/gv/Pkgfile b/extra/gv/Pkgfile new file mode 100755 index 000000000..7791f4a62 --- /dev/null +++ b/extra/gv/Pkgfile @@ -0,0 +1,24 @@ +# Description: Lecteur de document PostScript et PDF +# URL: http://www.gnu.org/software/gv/ +# Maintainer: NuTyX packager team +# Packager: lesibel at free dot fr +# Depends on: xaw3d +name=gv +version=3.6.7 +release=2 +source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz \ + gv.desktop gv.png gv.install) + +build() { + cd $name-$version + sed -i -e "s:-dGraphicsAlphaBits=2:\0 -dAlignToPixels=0:" src/Makefile.{am,in} + ./configure --prefix=/usr + make + make DESTDIR=$PKG install + mkdir -p $PKG/usr/share/applications + install -D -m 644 ../$name.desktop $PKG/usr/share/applications/$name.desktop + mkdir -p $PKG/usr/share/icons/hicolor/48x48/apps/ + install -D -m 644 ../$name.png $PKG/usr/share/icons/hicolor/48x48/apps/$name.png + rm $PKG/usr/share/info/dir + gzip $PKG/usr/share/info/* +} -- cgit v1.2.3-70-g09d2