Skip to content

Commit

Permalink
tealdeer: use new cargo macros (#3316)
Browse files Browse the repository at this point in the history
**Summary**
- Use new cargo macros

**Test Plan**
- Checked it build.

**Checklist**

- [X] Package was built and tested against unstable
  • Loading branch information
algent-al authored Jul 14, 2024
2 parents df97509 + 026b64b commit a2134db
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 17 deletions.
11 changes: 4 additions & 7 deletions packages/t/tealdeer/abi_used_symbols
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ libc.so.6:fstat64
libc.so.6:fstatat64
libc.so.6:gai_strerror
libc.so.6:getaddrinfo
libc.so.6:getauxval
libc.so.6:getcwd
libc.so.6:getenv
libc.so.6:getpeername
Expand All @@ -43,24 +44,20 @@ libc.so.6:isatty
libc.so.6:lseek64
libc.so.6:lstat64
libc.so.6:malloc
libc.so.6:memchr
libc.so.6:memcmp
libc.so.6:memcpy
libc.so.6:memmove
libc.so.6:memrchr
libc.so.6:memset
libc.so.6:mkdir
libc.so.6:mmap
libc.so.6:mmap64
libc.so.6:mprotect
libc.so.6:munmap
libc.so.6:open
libc.so.6:open64
libc.so.6:openat
libc.so.6:openat64
libc.so.6:opendir
libc.so.6:pipe
libc.so.6:poll
libc.so.6:posix_memalign
libc.so.6:prctl
libc.so.6:pthread_attr_destroy
libc.so.6:pthread_attr_getguardsize
libc.so.6:pthread_attr_getstack
Expand All @@ -74,8 +71,8 @@ libc.so.6:pthread_join
libc.so.6:pthread_key_create
libc.so.6:pthread_key_delete
libc.so.6:pthread_self
libc.so.6:pthread_setname_np
libc.so.6:pthread_setspecific
libc.so.6:putenv
libc.so.6:read
libc.so.6:readdir64
libc.so.6:readlink
Expand Down
8 changes: 5 additions & 3 deletions packages/t/tealdeer/package.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name : tealdeer
version : 1.6.1
release : 10
release : 11
source :
- https://github.com/dbrgn/tealdeer/archive/refs/tags/v1.6.1.tar.gz : d42db25a56a72faec173c86192656c5381281dc197171f385fccffd518930430
license : MIT
Expand All @@ -12,10 +12,12 @@ description: |
networking : yes
builddeps :
- rust
setup : |
%cargo_fetch
build : |
cargo build --release
%cargo_build
install : |
install -Dm00755 $workdir/target/release/tldr $installdir/usr/bin/tldr
%cargo_install tldr
cd $workdir/completion
install -Dm00644 bash_tealdeer $installdir/usr/share/bash-completion/completions/tldr
install -Dm00644 fish_tealdeer $installdir/usr/share/fish/vendor_completions.d/tldr.fish
Expand Down
14 changes: 7 additions & 7 deletions packages/t/tealdeer/pspec_x86_64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<Name>tealdeer</Name>
<Homepage>https://tldr.sh/</Homepage>
<Packager>
<Name>Thomas Staudinger</Name>
<Email>[email protected]</Email>
<Name>Jakob Gezelius</Name>
<Email>[email protected]</Email>
</Packager>
<License>MIT</License>
<PartOf>system.utils</PartOf>
<Summary xml:lang="en">A very fast implementation of tldr in Rust.</Summary>
<Description xml:lang="en">A very fast implementation of tldr in Rust: Simplified, example based and community-driven man pages.
</Description>
<Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://getsol.us/sources/README.Solus</Archive>
<Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://sources.getsol.us/README.Solus</Archive>
</Source>
<Package>
<Name>tealdeer</Name>
Expand All @@ -27,12 +27,12 @@
</Files>
</Package>
<History>
<Update release="10">
<Date>2022-11-04</Date>
<Update release="11">
<Date>2024-07-14</Date>
<Version>1.6.1</Version>
<Comment>Packaging update</Comment>
<Name>Thomas Staudinger</Name>
<Email>[email protected]</Email>
<Name>Jakob Gezelius</Name>
<Email>[email protected]</Email>
</Update>
</History>
</PISI>

0 comments on commit a2134db

Please sign in to comment.