summaryrefslogtreecommitdiff
path: root/extra/pstoedit/PKGBUILD
blob: b0142295c2dc2c0c52b2c5f1752c474261148e7b (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
# $Id: PKGBUILD 189866 2013-07-10 07:26:57Z bpiotrowski $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: damir <damir@archlinux.org>
# Contributor: Tobias Powalowski <t.powa@gmx.de>

pkgname=pstoedit
pkgver=3.61
pkgrel=2
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")
sha1sums=('426f3746ecb441caa0db401d5880e1ac04a399d5')

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

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

  ./configure --prefix=/usr
  make
}

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