diff --git a/srcpkgs/xdu/template b/srcpkgs/xdu/template new file mode 100644 index 0000000000..3c31993d86 --- /dev/null +++ b/srcpkgs/xdu/template @@ -0,0 +1,22 @@ +# Template file for 'xdu' +pkgname=xdu +version=3.0 +revision=1 +wrksrc=$pkgname-$version +create_wrksrc=yes +makedepends="libXaw-devel" +short_desc="Display the output of du(1) in an X window" +maintainer="Christian Neukirchen " +license="custom" +homepage="http://sd.wareonearth.com/~phil/xdu/" +distfiles="http://sd.wareonearth.com/~phil/$pkgname/$pkgname-$version.tar.Z>$pkgname-$version.tar.gz" +checksum=9a8f3748751cc543f88e9b312a72fa1e60c4335b1a57bfac492745512c12dd11 + +do_build() { + $CC $CFLAGS -o xdu xdu.c xwin.c $LDFLAGS -lXt -lXaw -lX11 +} + +do_install() { + vbin xdu + vman xdu.man xdu.1 +}