mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 22:27:02 +02:00
hex: update to 0.5.0
This commit is contained in:
parent
0a007a2820
commit
a5f7778d2c
1 changed files with 11 additions and 4 deletions
|
@ -1,17 +1,24 @@
|
|||
# Template file for 'hex'
|
||||
pkgname=hex
|
||||
version=0.4.2
|
||||
revision=3
|
||||
version=0.5.0
|
||||
revision=1
|
||||
build_style=cargo
|
||||
hostmakedepends="pandoc"
|
||||
short_desc="Futuristic take on hexdump"
|
||||
maintainer="SolitudeSF <solitudesf@protonmail.com>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/sitkevij/hex"
|
||||
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||
checksum=a7cc1ece337fc19e77fbbbca145001bc5d447bde4118eb6de2c99407eb1a3b74
|
||||
distfiles="https://github.com/sitkevij/hex/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=7159eb1bf14d3c55aeb260cc5fb857fc8c91aca36fec3d22123aa22ecbab0509
|
||||
|
||||
post_build() {
|
||||
vsed -i MANPAGE.md -e 's/hx/hex/g'
|
||||
pandoc --standalone --to man MANPAGE.md -o hex.1
|
||||
}
|
||||
|
||||
post_install() {
|
||||
# avoid conflict with helix
|
||||
mv ${DESTDIR}/usr/bin/hx ${DESTDIR}/usr/bin/hex
|
||||
vman hex.1
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue