void-packages/srcpkgs/tweak/template
2015-11-17 16:47:19 +01:00

21 lines
606 B
Bash

# Template file for 'tweak'
pkgname=tweak
version=3.01
revision=3
makedepends="ncurses-devel"
short_desc="An efficient hex editor"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
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=196e629705969d0f44fdd1436a31c213478bc3ee8ba63e986b56105353c8fd94
do_build() {
make ${makejobs} CC="$CC" LINK="$CC" CFLAGS="-c $CFLAGS" LIBS="$LDFLAGS -lncurses"
}
do_install() {
vbin tweak
vman tweak.1
vlicense LICENCE LICENSE
}