crux-ports

My CRUX Linux ports
Log | Files | Refs | README

commit 8334f9c5447481353e6297f764841164f39514b6
parent 45ecaed8e199598c0c0949595ec4ee47a3a3668d
Author: Shokara Kou <kou@13f0.net>
Date:   Fri, 13 May 2022 18:16:23 -0400

add hx, simple hex editor

Diffstat:
Ahx/.footprint | 7+++++++
Ahx/.md5sum | 0
Ahx/Pkgfile | 22++++++++++++++++++++++
3 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/hx/.footprint b/hx/.footprint @@ -0,0 +1,7 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/hx +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/hx.1.gz diff --git a/hx/.md5sum b/hx/.md5sum diff --git a/hx/Pkgfile b/hx/Pkgfile @@ -0,0 +1,22 @@ +# Description: Hex editor for the terminal using plain C99 + POSIX libs +# URL: https://github.com/krpors/hx +# Maintainer: Shokara Kou, kou at 13f0 dot net +# Depends on: + +name=hx +commit=b6ccdbc +version=git-$commit +release=1 +source=() + +cloneurl=https://github.com/krpors/hx/ + +build() { + git clone $cloneurl + cd $name + git checkout $commit + + make + install -Dm755 -t $PKG/usr/bin hx + install -Dm644 -t $PKG/usr/share/man/man1 hx.1 +}