diff options
| author | Shokara Kou <kou@13f0.net> | 2022-05-13 18:16:23 -0400 |
|---|---|---|
| committer | Shokara Kou <kou@13f0.net> | 2022-12-10 16:12:53 -0500 |
| commit | 8334f9c5447481353e6297f764841164f39514b6 (patch) | |
| tree | 323465fe34b848d5ff92b8e75413e1205c9a5959 /hx/Pkgfile | |
| parent | 45ecaed8e199598c0c0949595ec4ee47a3a3668d (diff) | |
add hx, simple hex editor
Diffstat (limited to 'hx/Pkgfile')
| -rw-r--r-- | hx/Pkgfile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/hx/Pkgfile b/hx/Pkgfile new file mode 100644 index 0000000..8626409 --- /dev/null +++ b/hx/Pkgfile | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | # Description: Hex editor for the terminal using plain C99 + POSIX libs | ||
| 2 | # URL: https://github.com/krpors/hx | ||
| 3 | # Maintainer: Shokara Kou, kou at 13f0 dot net | ||
| 4 | # Depends on: | ||
| 5 | |||
| 6 | name=hx | ||
| 7 | commit=b6ccdbc | ||
| 8 | version=git-$commit | ||
| 9 | release=1 | ||
| 10 | source=() | ||
| 11 | |||
| 12 | cloneurl=https://github.com/krpors/hx/ | ||
| 13 | |||
| 14 | build() { | ||
| 15 | git clone $cloneurl | ||
| 16 | cd $name | ||
| 17 | git checkout $commit | ||
| 18 | |||
| 19 | make | ||
| 20 | install -Dm755 -t $PKG/usr/bin hx | ||
| 21 | install -Dm644 -t $PKG/usr/share/man/man1 hx.1 | ||
| 22 | } | ||
