mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-10 10:54:05 +02:00
leaving the Maintainer comment there for better visual cues, syntax highlighting, and easy conversion to a Contributor comment since Contributor comments are not being removed, just treat my Maintainer comments like Contributor ones, as a normal comment
43 lines
1.7 KiB
Text
43 lines
1.7 KiB
Text
# Contributor: Alex Yam <alex@alexyam.com>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=dhex
|
|
pkgver=0.69
|
|
pkgrel=2
|
|
pkgdesc="ncurses hex editor with diff mode for binary file comparison, supports custom themes"
|
|
url="https://www.dettus.net/dhex/"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
makedepends="ncurses-dev"
|
|
options="!check" # no test suite
|
|
subpackages="$pkgname-doc"
|
|
source="https://www.dettus.net/dhex/dhex_$pkgver.tar.gz
|
|
https://www.dettus.net/dhex/themes/dhexrc_default
|
|
https://www.dettus.net/dhex/themes/dhexrc_green
|
|
https://www.dettus.net/dhex/themes/dhexrc_red
|
|
https://www.dettus.net/dhex/themes/dhexrc_white
|
|
"
|
|
builddir="$srcdir/${pkgname}_$pkgver"
|
|
|
|
build() {
|
|
make
|
|
}
|
|
|
|
package() {
|
|
# 'make install' is broken
|
|
install -Dvm755 dhex -t "$pkgdir"/usr/bin/
|
|
|
|
install -Dvm644 dhex.1 -t "$pkgdir"/usr/share/man/man1/
|
|
install -Dvm644 dhex*.5 -t "$pkgdir"/usr/share/man/man5/
|
|
|
|
install -Dvm644 "$srcdir"/dhexrc* \
|
|
-t "$pkgdir"/usr/share/themes/dhex/
|
|
}
|
|
|
|
sha512sums="
|
|
76115fd6b67bf1f61af6acfbc4dac9ac54c14aeb291de6a190aa1ffa599cf8b3e40a422ed34c237cf1f5c7406b07e38e38fb1c9c9dd36ce93d05265238060ba0 dhex_0.69.tar.gz
|
|
88105bc3ab5b8cd8d0ee4d9fcaef8ca01abe0c2a6372d0a65c1e334c13e149292e7a753380974035518c1a96521e3e79f33476a656ca17c82254fc775df066f2 dhexrc_default
|
|
c916a605a268cdcb645c1dc249ef9649dce9a3bed9efbabdb7f4f5142cf28ee672b74a3799bf268de9815e1a354a3b3920fc03ad3911fe9fc50064eefcc7084c dhexrc_green
|
|
17abbd8f2afd8a663c117bbb6057ffb5f95eb1a55d206d46f8430ed62e276ac51fad0047528991750aae6ab0daf3cfebbe747c8885016602c680d693ba65a635 dhexrc_red
|
|
a8af1c03fbc3474179fbaa3db0b98ffefccc603092b73865ea288a3373c577a9acbcb5c5aa28b75da42909de497e26070027bfe8f4b22bc1d9b8ff997c39bf22 dhexrc_white
|
|
"
|