From 6dbdf6b8a451ed408942d1d47b4275dcbba3b975 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 13 Jun 2015 09:55:44 +0200 Subject: [PATCH] odo: unbreak build (#1779) --- srcpkgs/odo/template | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/srcpkgs/odo/template b/srcpkgs/odo/template index c964ed59764..1522777389c 100644 --- a/srcpkgs/odo/template +++ b/srcpkgs/odo/template @@ -1,8 +1,7 @@ # Template file for 'odo' pkgname=odo version=0.2.2 -revision=1 -build_style=gnu-makefile +revision=2 short_desc="An atomic odometer for the command line" maintainer="Eivind Uggedal " license="ISC" @@ -13,8 +12,10 @@ 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 +do_build() { + make CC=$CC +} +do_install() { + vbin odo + vman man/odo.1 }