* add hexedit

This commit is contained in:
Alexander Baldeck 2024-10-28 11:26:50 +01:00
parent dc4f276418
commit 7ec14db002
3 changed files with 51 additions and 0 deletions

16
hexedit/.SRCINFO Normal file
View File

@ -0,0 +1,16 @@
pkgbase = hexedit
pkgdesc = View and edit files in hexadecimal or in ASCII
pkgver = 1.6
pkgrel = 2
url = https://rigaux.org/hexedit.html
arch = x86_64
arch = powerpc64le
arch = powerpc64
arch = powerpc
arch = riscv64
license = GPL
depends = ncurses
source = hexedit-1.6.tar.gz::https://github.com/pixel/hexedit/archive/1.6.tar.gz
sha256sums = 598906131934f88003a6a937fab10542686ce5f661134bc336053e978c4baae3
pkgname = hexedit

4
hexedit/.nvchecker.toml Normal file
View File

@ -0,0 +1,4 @@
[hexedit]
source = "github"
github = "pixel/hexedit"
use_max_tag = true

31
hexedit/PKGBUILD Normal file
View File

@ -0,0 +1,31 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Morten Linderud <foxboron@archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Paul Mattal <pjmattal@elys.com>
pkgname=hexedit
pkgver=1.6
pkgrel=2
pkgdesc='View and edit files in hexadecimal or in ASCII'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url='https://rigaux.org/hexedit.html'
license=('GPL')
depends=('ncurses')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pixel/hexedit/archive/${pkgver}.tar.gz")
sha256sums=('598906131934f88003a6a937fab10542686ce5f661134bc336053e978c4baae3')
prepare() {
cd "${pkgname}-${pkgver}"
./autogen.sh
}
build() {
cd "${pkgname}-${pkgver}"
./configure
make
}
package() {
cd "${pkgname}-${pkgver}"
make prefix="${pkgdir}/usr" install
}