diff --git a/srcpkgs/odo/template b/srcpkgs/odo/template new file mode 100644 index 00000000000..c964ed59764 --- /dev/null +++ b/srcpkgs/odo/template @@ -0,0 +1,20 @@ +# Template file for 'odo' +pkgname=odo +version=0.2.2 +revision=1 +build_style=gnu-makefile +short_desc="An atomic odometer for the command line" +maintainer="Eivind Uggedal " +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_install() { + install -Dm755 odo ${DESTDIR}/usr/bin/odo + install -Dm644 man/odo.1 ${DESTDIR}/usr/share/man/man1/odo.1 +}