void-packages/srcpkgs/tree/template

18 lines
634 B
Bash

# Template file for 'tree'
pkgname=tree
version=2.0.0
revision=1
build_style=gnu-makefile
short_desc="Resursive directory listing program"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://mama.indstate.edu/users/ice/tree"
#istfiles="http://deb.debian.org/debian/pool/main/t/tree/tree_${version}.orig.tar.gz"
distfiles="http://mama.indstate.edu/users/ice/tree/src/tree-2.0.0.tgz"
checksum=782cd73179f65cfca7f29326f1511306e49e9b11d5b861daa57e13fd7262889f
do_install() {
sed -e 's,install -s,install ,g' -i Makefile
make MANDIR=${DESTDIR}/usr/share/man/man1 BINDIR=${DESTDIR}/usr/bin install
}