From 86df8b9bc6cf628d3b08cc73e22b16e141f29d09 Mon Sep 17 00:00:00 2001 From: Luis Date: Sat, 14 Jan 2023 00:19:43 +0000 Subject: [PATCH] new port: lsd, next-Gen ls command --- main/lsd/.checksums | 1 + main/lsd/.pkgfiles | 4 ++++ main/lsd/spkgbuild | 15 +++++++++++++++ 3 files changed, 20 insertions(+) create mode 100644 main/lsd/.checksums create mode 100644 main/lsd/.pkgfiles create mode 100644 main/lsd/spkgbuild diff --git a/main/lsd/.checksums b/main/lsd/.checksums new file mode 100644 index 000000000..309651c41 --- /dev/null +++ b/main/lsd/.checksums @@ -0,0 +1 @@ +5ef3cdc9494fb29076d49ab7b9364044 lsd-0.23.1.tar.gz diff --git a/main/lsd/.pkgfiles b/main/lsd/.pkgfiles new file mode 100644 index 000000000..ee9be509d --- /dev/null +++ b/main/lsd/.pkgfiles @@ -0,0 +1,4 @@ +lsd-0.23.1-1 +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/lsd diff --git a/main/lsd/spkgbuild b/main/lsd/spkgbuild new file mode 100644 index 000000000..7ca57f249 --- /dev/null +++ b/main/lsd/spkgbuild @@ -0,0 +1,15 @@ +# description : Next-Gen ls command +# homepage : https://github.com/Peltoche/lsd +# depends : rust + +name=lsd +version=0.23.1 +release=1 +source="https://github.com/Peltoche/$name/archive/$version/$name-$version.tar.gz" + +build() { + cd $name-$version + cargo build --release --locked + cargo install --locked --path . --root=$PKG/usr + rm $PKG/usr/.crates* +}