summaryrefslogtreecommitdiffstats
path: root/extra/gv/Pkgfile
diff options
context:
space:
mode:
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/*
+}