* add pstoedit

This commit is contained in:
Alexander Baldeck 2024-10-29 22:14:59 +01:00
parent 061f346939
commit 1cadd96b5f
3 changed files with 58 additions and 0 deletions

20
pstoedit/.SRCINFO Normal file
View File

@ -0,0 +1,20 @@
pkgbase = pstoedit
pkgdesc = Translates PostScript and PDF graphics into other vector formats
pkgver = 4.01
pkgrel = 2
url = http://www.pstoedit.net/
arch = x86_64
arch = powerpc64le
arch = powerpc64
arch = powerpc
arch = riscv64
license = GPL
makedepends = ghostscript
depends = gcc-libs
depends = plotutils
depends = gd
depends = imagemagick
source = https://downloads.sourceforge.net/sourceforge/pstoedit/pstoedit-4.01.tar.gz
sha512sums = 33fb5da1ffd16788dfd902f29d14af7da112575cbc9cce7635598bcbe26094d56bfe0d97e64ee4d7b81248365c113786003c60f97c477216a8027cba91c61541
pkgname = pstoedit

4
pstoedit/.nvchecker.toml Normal file
View File

@ -0,0 +1,4 @@
[pstoedit]
source = "regex"
url = "http://www.calvina.de/pstoedit/"
regex = "pstoedit-(\\d+\\.\\d+)\\.tar\\.gz"

34
pstoedit/PKGBUILD Normal file
View File

@ -0,0 +1,34 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Contributor: Ronald van Haren <ronald.archlinux.org>
# Contributor: damir <damir@archlinux.org>
# Contributor: Tobias Powalowski <t.powa@gmx.de>
pkgname=pstoedit
pkgver=4.01
pkgrel=2
pkgdesc="Translates PostScript and PDF graphics into other vector formats"
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url="http://www.pstoedit.net/"
license=('GPL')
depends=('gcc-libs' 'plotutils' 'gd' 'imagemagick')
makedepends=('ghostscript')
source=("https://downloads.sourceforge.net/sourceforge/pstoedit/pstoedit-${pkgver}.tar.gz")
sha512sums=('33fb5da1ffd16788dfd902f29d14af7da112575cbc9cce7635598bcbe26094d56bfe0d97e64ee4d7b81248365c113786003c60f97c477216a8027cba91c61541')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -e 's|ImageMagick++|Magick++|' -i configure.ac
autoreconf -vi
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}