aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/lsd/template
diff options
context:
space:
mode:
authorMarcin Puc <tranzystorek.io@protonmail.com>2023-08-28 07:48:41 +0000
committerclassabbyamp <5366828+classabbyamp@users.noreply.github.com>2023-08-31 00:55:17 +0000
commit97e6b1d7105830ad88c02785872652ae7fc9d014 (patch)
tree9275409ee96e73e462e190fbad5e6def34d5c746 /srcpkgs/lsd/template
parente1c82ed419540d87fee3f1fbd0c5ca08ad96e7f2 (diff)
downloadvoid-packages-97e6b1d7105830ad88c02785872652ae7fc9d014.tar
void-packages-97e6b1d7105830ad88c02785872652ae7fc9d014.tar.gz
void-packages-97e6b1d7105830ad88c02785872652ae7fc9d014.tar.bz2
void-packages-97e6b1d7105830ad88c02785872652ae7fc9d014.tar.lz
void-packages-97e6b1d7105830ad88c02785872652ae7fc9d014.tar.xz
void-packages-97e6b1d7105830ad88c02785872652ae7fc9d014.tar.zst
void-packages-97e6b1d7105830ad88c02785872652ae7fc9d014.zip
lsd: update to 1.0.0
Diffstat (limited to '')
-rw-r--r--srcpkgs/lsd/template24
1 files changed, 13 insertions, 11 deletions
diff --git a/srcpkgs/lsd/template b/srcpkgs/lsd/template
index 94f30f6e853..b07f510bff4 100644
--- a/srcpkgs/lsd/template
+++ b/srcpkgs/lsd/template
@@ -1,31 +1,33 @@
# Template file for 'lsd'
pkgname=lsd
-version=0.23.1
-revision=2
+version=1.0.0
+revision=1
build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libgit2-devel"
+checkdepends="git"
short_desc="Next gen ls command with lots of pretty colors and awesome icons"
maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
license="Apache-2.0"
-homepage="https://github.com/Peltoche/lsd"
+homepage="https://github.com/lsd-rs/lsd"
changelog="https://raw.githubusercontent.com/Peltoche/lsd/master/CHANGELOG.md"
-distfiles="https://github.com/Peltoche/lsd/archive/${version}.tar.gz"
-checksum=9698919689178cc095f39dcb6a8a41ce32d5a1283e6fe62755e9a861232c307d
+distfiles="https://github.com/lsd-rs/lsd/archive/refs/tags/v${version}.tar.gz"
+checksum=ab34e9c85bc77cfa42b43bfb54414200433a37419f3b1947d0e8cfbb4b7a6325
conflicts="disputils"
# The 'cannot_access_subdir_exit_status' fails on CI
# because the runner seems to allow setting the b dir in a/b/c to readonly (0400)
# and then navigating this structure recursively (like in `tree`)
-#
-# The other test needs to be skipped because it incorrectly intercepts the skip arguments
-# and fails the whole test (see https://github.com/Peltoche/lsd/pull/744)
if [ "$XBPS_BUILD_ENVIRONMENT" = "void-packages-ci" ]; then
- make_check_args="--
- --skip test_cannot_access_subdir_exit_status
- --skip test_symlink_arrow_from_args_none"
+ make_check_args="-- --skip test_cannot_access_subdir_exit_status"
fi
export SHELL_COMPLETIONS_DIR="${wrksrc}"
+post_patch() {
+ cargo update --package git2@0.16.1 --precise 0.17.2
+}
+
post_install() {
vcompletion lsd.bash bash
vcompletion lsd.fish fish