diff --git a/srcpkgs/xlbiff/template b/srcpkgs/xlbiff/template new file mode 100644 index 00000000000..0c75f041781 --- /dev/null +++ b/srcpkgs/xlbiff/template @@ -0,0 +1,24 @@ +# 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 " +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 +}