hex: change binary name to avoid conflict

This commit is contained in:
cinerea0 2022-03-31 20:36:55 -04:00 committed by Leah Neukirchen
parent d42addf055
commit ee05d995bf
2 changed files with 4 additions and 3 deletions

View file

@ -1,7 +1,7 @@
# Template file for 'helix' # Template file for 'helix'
pkgname=helix pkgname=helix
version=22.03 version=22.03
revision=1 revision=2
build_style=cargo build_style=cargo
make_install_args="--path helix-term" make_install_args="--path helix-term"
hostmakedepends="git" hostmakedepends="git"
@ -12,7 +12,6 @@ homepage="https://helix-editor.com/"
changelog="https://github.com/helix-editor/helix/blob/master/CHANGELOG.md" changelog="https://github.com/helix-editor/helix/blob/master/CHANGELOG.md"
distfiles="https://github.com/helix-editor/helix/archive/${version}.tar.gz" distfiles="https://github.com/helix-editor/helix/archive/${version}.tar.gz"
checksum=a21f4d7b6390930a89b59567909ad7c613a1eeeafc813167ff7bc3be603997f4 checksum=a21f4d7b6390930a89b59567909ad7c613a1eeeafc813167ff7bc3be603997f4
conflicts="hex>=0"
# skip problematic doctests on i686 # skip problematic doctests on i686
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in

View file

@ -1,7 +1,7 @@
# Template file for 'hex' # Template file for 'hex'
pkgname=hex pkgname=hex
version=0.4.2 version=0.4.2
revision=1 revision=2
build_style=cargo build_style=cargo
short_desc="Futuristic take on hexdump" short_desc="Futuristic take on hexdump"
maintainer="SolitudeSF <solitudesf@protonmail.com>" maintainer="SolitudeSF <solitudesf@protonmail.com>"
@ -11,5 +11,7 @@ distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=a7cc1ece337fc19e77fbbbca145001bc5d447bde4118eb6de2c99407eb1a3b74 checksum=a7cc1ece337fc19e77fbbbca145001bc5d447bde4118eb6de2c99407eb1a3b74
post_install() { post_install() {
# avoid conflict with helix
mv ${DESTDIR}/usr/bin/hx ${DESTDIR}/usr/bin/hex
vlicense LICENSE vlicense LICENSE
} }