# Contributor: Sergiy Stupar # Maintainer: Sergiy Stupar pkgname=hx pkgver=1.0.11 pkgrel=1 pkgdesc="Hex editor for the terminal using plain C99 + POSIX libs" url="https://github.com/krpors/hx" arch="all" license="MIT" install="$pkgname.post-install" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/krpors/hx/archive/v$pkgver.tar.gz broken-makefile.patch " options="!check" # No tests build() { make hx_version="$pkgver" hx_git_hash="alpine-r$pkgrel" PREFIX=/usr } package() { make PREFIX=/usr DESTDIR="$pkgdir" install # rename to avoid conflicts mv "$pkgdir"/usr/bin/hx "$pkgdir"/usr/bin/hx-editor } sha512sums=" 60253882bec06bc9a8b8b21a1e2bcb288facde53cf746235a45c8d8390bf6b2b7500611cc97c1b7107726de3c69ecfadc04965a37451119677cf15469ceb2757 hx-1.0.11.tar.gz 1a8d87e6e5f346cebee7f6e7e623e5cb0555e25ddef0fd13ccbaf3a3706c9e4b521be4f88d8621a02ded179a19a4da7e8bd5c8b70c1281b71cdbf49a5c838b97 broken-makefile.patch "