void-packages/srcpkgs/tweak/template

23 lines
609 B
Bash
Raw Normal View History

2015-05-03 14:09:38 +00:00
# Template file for 'tweak'
pkgname=tweak
version=3.01
revision=1
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" CFLAGS="-c $CFLAGS" LIBS="$LDFLAGS -lncurses"
}
do_install() {
vbin tweak
vman tweak.1
vlicense LICENCE LICENSE
}