34 lines
969 B
Bash
34 lines
969 B
Bash
# Template file for 'pstoedit'
|
|
pkgname=pstoedit
|
|
version=3.75
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="ghostscript pkg-config"
|
|
makedepends="libXext-devel libmagick-devel libxml2-devel"
|
|
short_desc="PostScript and PDF graphics into other vector formats translator"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://www.pstoedit.net/"
|
|
changelog="http://www.calvina.de/pstoedit/changelog.htm"
|
|
distfiles="${SOURCEFORGE_SITE}/pstoedit/pstoedit-${version}.tar.gz"
|
|
checksum=b7b5d8510b40a5b148f7751268712fcfd0c1ed2bb46f359f655b6fcdc53364cf
|
|
|
|
libpstoedit_package() {
|
|
short_desc+=" - library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
vmove "usr/lib/pstoedit/*.so.*"
|
|
}
|
|
}
|
|
|
|
pstoedit-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/pstoedit/*.so"
|
|
vmove usr/share/aclocal
|
|
}
|
|
}
|