void-packages/srcpkgs/tweak/template
2019-07-24 22:18:44 +02:00

21 lines
618 B
Bash

# Template file for 'tweak'
pkgname=tweak
version=3.02
revision=2
makedepends="ncurses-devel"
short_desc="Efficient hex editor supporting insert and delete"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
homepage="http://www.chiark.greenend.org.uk/~sgtatham/tweak/"
distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=5b4c19b1bf8734d1623e723644b8da58150b882efa9f23bbe797c3922f295a1a
do_build() {
make ${makejobs} CC="$CC" LINK="$CC" CFLAGS="-c $CFLAGS" LIBS="$LDFLAGS -lncurses"
}
do_install() {
vbin tweak
vman tweak.1
vlicense LICENCE LICENSE
}