summaryrefslogtreecommitdiff
path: root/extra/pstoedit/PKGBUILD
blob: 93b16da0e0914e089660d1329747ee155a764ae6 (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 175857 2013-01-23 00:12:48Z 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=4
pkgdesc="Translates PostScript and PDF graphics into other vector formats"
arch=("i686" "x86_64" 'mips64el')
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
}