diff options
Diffstat (limited to 'extra/gv/PKGBUILD')
-rw-r--r-- | extra/gv/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/gv/PKGBUILD b/extra/gv/PKGBUILD new file mode 100644 index 000000000..edf76955e --- /dev/null +++ b/extra/gv/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 103001 2010-12-13 22:11:14Z eric $ +# Maintainer: Eric Belanger <eric@archlinux.org> + +pkgname=gv +pkgver=3.7.1 +pkgrel=2 +pkgdesc="A program to view PostScript and PDF documents" +arch=('i686' 'x86_64') +url="http://www.gnu.org/software/gv/" +license=('GPL') +depends=('xaw3d' 'ghostscript') +install=gv.install +source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz gv.desktop gv.png aplinedel.patch) +md5sums=('bf4823d00d8e431f97dbcb7dd87c46ac' 'cf04652952f2d0903bc7578b4826f50c'\ + 'ab0e3879dbe39e59ad1c923020c28a86' '8a57a5d50a0d68dc1d98108e9665bd2d') +sha1sums=('05fcf76f29de77e67379bae7e9ca1c8a26bbf6e1' 'c8230fe08ee6d22525678a97832f44941237d174'\ + '35b9168e526527001b1b5b8ee34a5b69d9369590' 'e6358e74ec2641730b44443a49df36322df2bdd8') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 < ../aplinedel.patch + sed -i -e "s:-dGraphicsAlphaBits=2:\0 -dAlignToPixels=0:" src/Makefile.{am,in} + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -D -m644 ../gv.desktop "${pkgdir}/usr/share/applications/gv.desktop" + install -D -m644 ../gv.png "${pkgdir}/usr/share/pixmaps/gv.png" +} |