mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 10:46:59 +02:00
41 lines
1,015 B
Text
41 lines
1,015 B
Text
# Contributor: Rdbo <rdbodev@gmail.com>
|
|
# Maintainer: Rdbo <rdbodev@gmail.com>
|
|
pkgname=hexedit
|
|
pkgver=1.6_git20230905
|
|
pkgrel=0
|
|
pkgdesc="View and edit files in hexadecimal or in ASCII"
|
|
url="https://github.com/pixel/hexedit"
|
|
arch="all"
|
|
license="GPL-2.0-only"
|
|
makedepends="autoconf ncurses-dev"
|
|
_commit="3f0d6adf1636b4d7e01e014633eae8fdcdcb9570"
|
|
source="https://github.com/pixel/hexedit/archive/$_commit/hexedit-$_commit.tar.gz"
|
|
options="!check" # the program does not have testing capabilities
|
|
builddir="$srcdir/hexedit-$_commit"
|
|
subpackages="$pkgname-doc"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
./autogen.sh
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
5a4d6482a8063b3784e51e9f413caac41ad70b650b1473968e4b7f549b357e061aa23044451f482a354f995866c403c02a61d88a562fd3dda2b7bc6cb9187677 hexedit-3f0d6adf1636b4d7e01e014633eae8fdcdcb9570.tar.gz
|
|
"
|