2021-06-17 02:15:24 +02:00
|
|
|
# Description: A recursive directory listing command that produces a depth indented listing of files
|
2023-05-25 00:14:37 +02:00
|
|
|
# URL: https://gitlab.com/OldManProgrammer/unix-tree
|
2021-06-17 02:15:24 +02:00
|
|
|
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
2021-06-17 02:10:42 +02:00
|
|
|
|
|
|
|
name=tree
|
2023-06-08 07:05:08 +02:00
|
|
|
version=2.1.1
|
2021-06-17 02:10:42 +02:00
|
|
|
release=1
|
2023-05-25 00:14:37 +02:00
|
|
|
source=(https://gitlab.com/OldManProgrammer/unix-tree/-/archive/$version/unix-tree-$version.tar.gz)
|
2021-06-17 02:10:42 +02:00
|
|
|
|
|
|
|
build () {
|
2023-05-25 00:14:37 +02:00
|
|
|
cd unix-tree-$version
|
2021-06-17 02:10:42 +02:00
|
|
|
|
2023-05-25 00:14:37 +02:00
|
|
|
sed -i 's/^CFLAGS+=.*-O[0-9] \(.*\)/CFLAGS+=\1/' Makefile
|
2021-06-17 02:10:42 +02: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
|
|
|
|
}
|