void-packages/srcpkgs/xdu/template

22 lines
619 B
Bash
Raw Normal View History

2014-07-03 20:18:13 +02:00
# Template file for 'xdu'
pkgname=xdu
version=3.0
2015-05-19 17:13:32 +02:00
revision=4
2014-10-19 23:16:53 +02:00
wrksrc=${pkgname}-${version}.orig
2014-07-03 20:18:13 +02:00
makedepends="libXaw-devel"
short_desc="Display the output of du(1) in an X window"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
2014-07-08 12:02:51 +02:00
license="MIT/X11"
2014-10-19 23:16:53 +02:00
homepage="http://web.archive.org/web/20131111062856/http://sd.wareonearth.com/~phil/xdu/"
distfiles="$DEBIAN_SITE/main/x/${pkgname}/${pkgname}_${version}.orig.tar.gz"
checksum=42c018597e31fade56e44b21ed7041f23756532df6e114b5475b4a50cd4df881
2014-07-03 20:18:13 +02:00
do_build() {
2014-10-19 23:16:53 +02:00
$CC $CFLAGS -o xdu xdu.c xwin.c $LDFLAGS -lXt -lXaw -lX11
2014-07-03 20:18:13 +02:00
}
do_install() {
2014-10-19 23:16:53 +02:00
vbin xdu
vman xdu.man xdu.1
2014-07-03 20:18:13 +02:00
}