void-packages/srcpkgs/tree/template
Dmitry Zakharchenko fbcfe4eab8 tree: change distfiles to more universal variant.
Previous source is unreachable from some locations, see
https://check-host.net/check-report/50cff9fk55d
2021-10-29 15:53:26 +02:00

16 lines
563 B
Bash

# Template file for 'tree'
pkgname=tree
version=1.8.0
revision=2
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"
distfiles="http://deb.debian.org/debian/pool/main/t/tree/tree_${version}.orig.tar.gz"
checksum=715d5d4b434321ce74706d0dd067505bb60c5ea83b5f0b3655dae40aa6f9b7c2
do_install() {
sed -e 's,install -s,install ,g' -i Makefile
make MANDIR=${DESTDIR}/usr/share/man/man1 BINDIR=${DESTDIR}/usr/bin install
}