summaryrefslogtreecommitdiff
path: root/extra/pstoedit/PKGBUILD
blob: 32396dba4ceb1e68ceded0604982a2af14f81b8d (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
28
29
30
31
32
33
34
# $Id: PKGBUILD 137995 2011-09-13 21:30:18Z eric $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: damir <damir@archlinux.org>
# Contributor: Tobias Powalowski <t.powa@gmx.de>

pkgname=pstoedit
pkgver=3.60
pkgrel=2
pkgdesc="Translates PostScript and PDF graphics into other vector formats"
arch=('i686' 'x86_64')
url="http://www.pstoedit.net/"
license=('GPL')
depends=('gcc-libs' 'plotutils' 'gd' 'imagemagick')
makedepends=('ghostscript')
options=('!libtool' '!makeflags')
source=("http://downloads.sourceforge.net/sourceforge/pstoedit/pstoedit-${pkgver}.tar.gz"
	'pstoedit-3.50-parallel.patch'	'pstoedit-3.50-plugin-close.patch')
sha1sums=('649ade3d873429548eb6dd9f3e13cb79a8d6a1a2'
          '6e278b164d3e59fbb11e7fd5ae8ffb038932d69a'
          '54bbe019de66eb4cb8525371462595d21fbd074e')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  sed -i 's/-pedantic//' configure

  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}