aports/testing/poke/APKBUILD

37 lines
904 B
Text

# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=poke
pkgver=4.3
pkgrel=0
pkgdesc="extensible editor for binary data"
url="https://www.jemarch.net/poke.html"
arch="all"
license="GPL-3.0-or-later"
makedepends="automake autoconf help2man gc-dev readline-dev gettext-dev json-c-dev dejagnu-dev"
checkdepends="dejagnu"
subpackages="$pkgname-doc"
source="https://ftp.gnu.org/gnu/poke/poke-$pkgver.tar.gz"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
check() {
make -k check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
62c966a428868fc57d9484fc8c0218eaa051db7ce94b0da2760923f209055d10eea1a7f3ca404eae96fb9908d04e6c4ae284533cff89cb115fb775a8918fbb21 poke-4.3.tar.gz
"