odo: unbreak build (#1779)

This commit is contained in:
Juan RP 2015-06-13 09:55:44 +02:00
parent 4b403ddebf
commit 6dbdf6b8a4

View file

@ -1,8 +1,7 @@
# Template file for 'odo' # Template file for 'odo'
pkgname=odo pkgname=odo
version=0.2.2 version=0.2.2
revision=1 revision=2
build_style=gnu-makefile
short_desc="An atomic odometer for the command line" short_desc="An atomic odometer for the command line"
maintainer="Eivind Uggedal <eivind@uggedal.com>" maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="ISC" license="ISC"
@ -13,8 +12,10 @@ checksum=52133a6b92510d27dfe80c7e9f333b90af43d12f7ea0cf00718aee8a85824df5
pre_build() { pre_build() {
sed -e 's/${OPTIMIZE}//' -i Makefile sed -e 's/${OPTIMIZE}//' -i Makefile
} }
do_build() {
do_install() { make CC=$CC
install -Dm755 odo ${DESTDIR}/usr/bin/odo }
install -Dm644 man/odo.1 ${DESTDIR}/usr/share/man/man1/odo.1 do_install() {
vbin odo
vman man/odo.1
} }