void-packages/srcpkgs/sile/template
2018-10-26 02:26:38 -03:00

27 lines
789 B
Bash

# Template file for 'sile'
pkgname=sile
version=0.9.4
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="harfbuzz-devel lua51-devel lua51-lpeg luaexpat
lua51-zlib luafilesystem"
depends="lua51-lpeg luaexpat lua51-zlib luafilesystem"
short_desc="Modern typesetting system inspired by TeX"
maintainer="John <johnz@posteo.net>"
license="MIT"
homepage="http://www.sile-typesetter.org/"
distfiles="https://github.com/simoncozens/sile/releases/download/v${version}/sile-${version}.tar.bz2"
checksum=1c696679e5243d0448705db86227eec57a000846f02a964f882b7978c46954d5
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" lua51 lua51-lpeg luaexpat lua51-zlib luafilesystem"
fi
post_extract() {
sed 's/rm -f core/rm -f/' -i configure
}
post_install() {
vlicense LICENSE
}