hexer: update to 1.0.4.

This commit is contained in:
John Zimmermann 2018-06-20 09:54:44 +00:00 committed by maxice8
parent b069fa69a6
commit dc8f003c05
2 changed files with 3 additions and 29 deletions

View file

@ -1,26 +0,0 @@
--- Makefile 2017-09-15 14:12:23.848961346 +1000
+++ Makefile 2017-09-15 15:01:32.364872161 +1000
@@ -2,6 +2,7 @@
# Copyright (c) 1995,1996 Sascha Demetrio
# Copyright (c) 2009 - 2011, 2014 - 2016 Peter Pentchev
+# Copyright (c) 2017 Alastair Knowles
# It might be helpful to read the `README'-file first.
@@ -70,11 +71,10 @@ $(HEXER): $(OBJECTS)
$(MYC): calc.c config.h
$(CC) $(LDFLAGS) $(CPPFLAGS) $(CFLAGS) -DMYCALC=1 -o $@ calc.c -lm
-bin2c: bin2c.c
- $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ bin2c.c
-
-helptext.c: help.txt bin2c
- ./bin2c -n helptext -o $@ help.txt
+helptext.c: help.txt
+ $(file >$@,char helptext[] = {)
+ $(file >>$@,$(shell cat help.txt | xxd -i))
+ $(file >>$@,, 0};)
.c.o: config.h
$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<

View file

@ -1,6 +1,6 @@
# Template file for 'hexer'
pkgname=hexer
version=1.0.3
version=1.0.4
revision=1
build_style=gnu-makefile
make_install_args="MANDIR=/usr/share/man/man1"
@ -8,10 +8,10 @@ hostmakedepends="xxd"
makedepends="ncurses-devel"
short_desc="A multi-buffered hex editor for binary files, with a vi like interface"
maintainer="Aloz1 <kno0001@gmail.com>"
license="BSD"
license="BSD-3-Clause"
homepage="https://devel.ringlet.net/editors/hexer/"
distfiles="https://devel.ringlet.net/files/editors/hexer/hexer-${version}.tar.xz"
checksum=0cc09ef5fc256859ad55fd0aa8421bbdf70fc463fcbbc9f52d925a9569136fa8
checksum=757005881d210e72764d43f366782fec40cf8a4e143904242996d5366030223d
post_install() {
vlicense COPYRIGHT