void-packages/srcpkgs/discount/template
2019-05-11 19:16:12 +02:00

29 lines
849 B
Bash

# Template file for 'discount'
pkgname=discount
version=2.2.6
revision=1
build_style=configure
configure_script="./configure.sh"
configure_args="--prefix=/usr --shared --pkg-config"
short_desc="C implementation of John Gruber's Markdown"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-3-Clause"
homepage="http://www.pell.portland.or.us/~orc/Code/discount"
distfiles="https://github.com/Orc/discount/archive/v${version}.tar.gz"
checksum=0beb98a66a6e38ed125e2d0a161ff6b461f6a38538bb72498766f376c94a0ad3
disable_parallel_build=yes
do_install() {
make DESTDIR=${DESTDIR} install install.man
vlicense COPYRIGHT
}
discount-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
}
}