void-packages/srcpkgs/deutex/template

32 lines
761 B
Bash

# Template file for 'deutex'
pkgname=deutex
version=4.4.902
revision=1
build_style=gnu-makefile
short_desc="WAD composer for DOOM and others"
maintainer="beefcurtains <beefcurtains@users.noreply.github.com>"
license="GPL-2"
homepage="http://www.teaser.fr/~amajorel/deutex/"
distfiles="https://github.com/chungy/${pkgname}/archive/v${version}.tar.gz"
checksum=969d2b901261c41e5125ffb2ecb8ecbe0b804956f0cf2220e96994f6be0f9f67
do_configure() {
./configure --cc "${CC}" --cflags "${CFLAGS}" \
--ldflags "${LDFLAGS}" --prefix /usr \
--inttypes yes
}
do_install() {
vbin deusf
vbin deutex
vlicense LICENCE
ln -s deutex.6 deusf.6
vman deutex.6
vman deusf.6
vdoc README
rm -f docsrc/{README,deutex.6}
for doc in $(echo docsrc/*); do
vdoc $doc
done
}