diff options
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 | } | ||
