tectonic: use cargo buildstyle
This commit is contained in:
parent
536972a7ee
commit
0f3e363cd4
|
@ -1,8 +1,9 @@
|
|||
# Template file for 'tectonic'
|
||||
pkgname=tectonic
|
||||
version=0.1.10
|
||||
revision=1
|
||||
hostmakedepends="cargo pkg-config"
|
||||
revision=2
|
||||
build_style=cargo
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="harfbuzz-devel libressl-devel"
|
||||
short_desc="Modernized, complete, self-contained TeX/LaTeX engine"
|
||||
maintainer="Chinmay Pai <chinmaydpai@gmail.com>"
|
||||
|
@ -11,19 +12,6 @@ homepage="https://tectonic-typesetting.github.io"
|
|||
changelog="https://raw.githubusercontent.com/tectonic-typesetting/tectonic/master/CHANGELOG.md"
|
||||
distfiles="https://github.com/tectonic-typesetting/${pkgname}/archive/v${version}.tar.gz"
|
||||
checksum=4b7c65692e97704dd3ffee3f4b3aaa57f3e478a2a5c6689dc9347be23ab65897
|
||||
nocross=yes
|
||||
|
||||
do_build() {
|
||||
cargo build --release ${makejobs}
|
||||
}
|
||||
|
||||
do_check() {
|
||||
cargo test --release
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vbin target/release/${pkgname}
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
|
Loading…
Reference in New Issue