mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-31 06:12:14 +01:00
31 lines
1001 B
Plaintext
31 lines
1001 B
Plaintext
# Contributor: Sergiy Stupar <owner@sestolab.pp.ua>
|
|
# Maintainer: Sergiy Stupar <owner@sestolab.pp.ua>
|
|
pkgname=hx
|
|
pkgver=1.0.14
|
|
pkgrel=0
|
|
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="
|
|
e8fcf210aa7f1e9857b3cff6184dc9b4e655840056511be7ba36654d665a8f57e81be032791c7d35511153ec9c6cd2ae3b689a2b3177f9650ca985c1b6827bd3 hx-1.0.14.tar.gz
|
|
1a8d87e6e5f346cebee7f6e7e623e5cb0555e25ddef0fd13ccbaf3a3706c9e4b521be4f88d8621a02ded179a19a4da7e8bd5c8b70c1281b71cdbf49a5c838b97 broken-makefile.patch
|
|
"
|