Merge pull request #4844 from juliendehos/epstopdf

New package: epstopdf-2.25
This commit is contained in:
Enno Boland 2016-10-09 10:16:13 +02:00 committed by GitHub
commit 1b8d4d73e8
2 changed files with 51 additions and 0 deletions

24
srcpkgs/epstopdf/template Normal file
View file

@ -0,0 +1,24 @@
# Template file for 'epstopdf'
pkgname="epstopdf"
version="2.25"
revision=1
depends="ghostscript perl"
hostmakedepends="unzip"
short_desc="Convert EPS to PDF using Ghostscript"
maintainer="Julien Dehos <dehos@lisic.univ-littoral.fr>"
homepage="http://tug.org/epstopdf"
license="public domain"
distfiles="http://mirrors.ctan.org/support/${pkgname}.zip"
checksum="b3ae50757eb7fcbf7e9ed1b34b037fa8e06f6f4bb16cdd4cd2f1afdd5a0d8af3"
noarch="yes"
wrksrc="epstopdf"
do_build() {
mv epstopdf.pl epstopdf
}
do_install() {
vbin epstopdf
vman epstopdf.1
}

27
srcpkgs/plantuml/template Normal file
View file

@ -0,0 +1,27 @@
# Template file for 'plantuml'
pkgname="plantuml"
version="8047"
revision=1
depends="virtual?java-environment graphviz"
hostmakedepends="unzip"
short_desc="Create UML diagrams from a plain text language"
maintainer="Julien Dehos <dehos@lisic.univ-littoral.fr>"
homepage="http://plantuml.com/"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-jar-gplv2-${version}.zip"
checksum="6d49b001d0dcc7780b56211668d886f6600b07a70a1ba6c063f26f2fecaffc70"
noarch="yes"
create_wrksrc="yes"
do_build() {
mv ${pkgname}.jar ${pkgname}-${version}.jar
echo "#!/bin/sh" > plantuml
echo "java -jar /usr/share/java/${pkgname}-${version}.jar \$@" >> plantuml
chmod 755 plantuml
}
do_install() {
vbin plantuml
vinstall ${pkgname}-${version}.jar 644 usr/share/java ${pkgname}-${version}.jar
}