blob: 4d2c50d7b5d24ac5eab509b434a7469fdbe5e1b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# 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
# Run on: xaw3d
name=gv
version=3.7.1
release=1
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/*
}
|