void-packages/srcpkgs/odo/template

24 lines
545 B
Bash

# Template file for 'odo'
pkgname=odo
version=0.2.2
revision=3
short_desc="An atomic odometer for the command line"
maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://github.com/atomicobject/odo"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=52133a6b92510d27dfe80c7e9f333b90af43d12f7ea0cf00718aee8a85824df5
pre_build() {
sed -e 's/${OPTIMIZE}//' -i Makefile
}
do_build() {
make CC=$CC
}
do_install() {
vbin odo
vman man/odo.1
sed -n '/Copyright/,/PERFORMANCE/p' main.c > LICENSE
vlicense LICENSE
}