summaryrefslogtreecommitdiffstats
path: root/extra/gv/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-10 23:11:00 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-10 23:11:00 +0200
commite21c99ef1c4939a51ca74a1d05ddfca6bd99a2b4 (patch)
tree625a03b566fb9bda9f22ecc308df46e31e83529c /extra/gv/Pkgfile
parent0cb606a52b2d6e98cf563e4fe1096bb02f65016f (diff)
downloadnutyx-pakxe-e21c99ef1c4939a51ca74a1d05ddfca6bd99a2b4.tar.gz
nutyx-pakxe-e21c99ef1c4939a51ca74a1d05ddfca6bd99a2b4.tar.bz2
nutyx-pakxe-e21c99ef1c4939a51ca74a1d05ddfca6bd99a2b4.tar.xz
nutyx-pakxe-e21c99ef1c4939a51ca74a1d05ddfca6bd99a2b4.zip
Ajout de gv#3.6.7-2
Diffstat (limited to 'extra/gv/Pkgfile')
-rwxr-xr-xextra/gv/Pkgfile24
1 files changed, 24 insertions, 0 deletions
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/*
+}