2021-06-16 19:15:24 -05:00
|
|
|
# Description: A recursive directory listing command that produces a depth indented listing of files
|
2023-05-24 17:14:37 -05:00
|
|
|
# URL: https://gitlab.com/OldManProgrammer/unix-tree
|
2021-06-16 19:15:24 -05:00
|
|
|
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
2021-06-16 19:10:42 -05:00
|
|
|
|
|
|
|
name=tree
|
2023-06-08 00:05:08 -05:00
|
|
|
version=2.1.1
|
2021-06-16 19:10:42 -05:00
|
|
|
release=1
|
2023-05-24 17:14:37 -05:00
|
|
|
source=(https://gitlab.com/OldManProgrammer/unix-tree/-/archive/$version/unix-tree-$version.tar.gz)
|
2021-06-16 19:10:42 -05:00
|
|
|
|
|
|
|
build () {
|
2023-05-24 17:14:37 -05:00
|
|
|
cd unix-tree-$version
|
2021-06-16 19:10:42 -05:00
|
|
|
|
2023-05-24 17:14:37 -05:00
|
|
|
sed -i 's/^CFLAGS+=.*-O[0-9] \(.*\)/CFLAGS+=\1/' Makefile
|
2021-06-16 19:10:42 -05:00
|
|
|
make
|
|
|
|
|
|
|
|
install -D -m 0755 $name $PKG/usr/bin/$name
|
|
|
|
install -D -m 0644 doc/$name.1 $PKG/usr/share/man/man1/$name.1
|
|
|
|
}
|