summaryrefslogtreecommitdiff
path: root/extra/pstoedit/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/pstoedit/PKGBUILD')
-rw-r--r--extra/pstoedit/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/extra/pstoedit/PKGBUILD b/extra/pstoedit/PKGBUILD
new file mode 100644
index 000000000..8a075012c
--- /dev/null
+++ b/extra/pstoedit/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 88955 2010-08-26 15:26:52Z ronald $
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: damir <damir@archlinux.org>
+# Contributor: Tobias Powalowski <t.powa@gmx.de>
+
+pkgname=pstoedit
+pkgver=3.50
+pkgrel=4
+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=('5685bef29fa00aae7cc314d3a1dd21612a98eb2b'
+ '6e278b164d3e59fbb11e7fd5ae8ffb038932d69a'
+ '54bbe019de66eb4cb8525371462595d21fbd074e')
+
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # fix FS#19221 - [pstoedit] plugin close problem
+ patch -Np1 -i ../pstoedit-3.50-parallel.patch
+ patch -Np1 -i ../pstoedit-3.50-plugin-close.patch
+
+ sed -i 's/-pedantic//' configure
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}