void-packages/srcpkgs/tweak/template
2015-05-17 16:15:30 +02:00

22 lines
620 B
Bash

# Template file for 'tweak'
pkgname=tweak
version=3.01
revision=3
build_pie=yes
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
}