void-packages/srcpkgs/xlbiff/template

25 lines
767 B
Plaintext

# Template file for 'xlbiff'
pkgname=xlbiff
version=4.1
revision=1
makedepends="libX11-devel libXaw-devel"
short_desc="X Literate Biff, a mail notifier"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="PD"
homepage="http://www.edsantiago.com/xlbiff/"
distfiles="http://www.edsantiago.com/xlbiff/$pkgname-$version.tar.gz"
checksum=ca758c186d8fbe3505b86ba7aea21c6e20733a5b37e6ff5c308f09e8425e4697
do_build() {
make -f Makefile.std MHLIBDIR=/etc/nmh CC="$CC" DEBUG="$CFLAGS"
sed -n 2,30p xlbiff.c >LICENSE
}
do_install() {
vinstall xlbiff 755 usr/bin
vinstall xlbiff.man 644 usr/share/man/man1 xlbiff.1
vinstall xlbiff.form 644 etc/nmh
vinstall XLbiff.ad 644 usr/lib/X11/app-defaults
vinstall LICENSE 644 usr/share/licenses/$pkgname
}