From 6d51c87b5833080c65145a588e232436355e91b3 Mon Sep 17 00:00:00 2001 From: TJ Vanderpoel Date: Sun, 14 Dec 2014 15:37:20 +0000 Subject: [PATCH] fix up templates for PR #727 --- srcpkgs/lua-BitOp/template | 1 - srcpkgs/lua-MessagePack/template | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/srcpkgs/lua-BitOp/template b/srcpkgs/lua-BitOp/template index 99ec483ad2..23123ef964 100644 --- a/srcpkgs/lua-BitOp/template +++ b/srcpkgs/lua-BitOp/template @@ -13,7 +13,6 @@ distfiles="${homepage}/download/LuaBitOp-${version}.tar.gz" checksum=1207c9293dcd52eb9dca6538d1b87352bd510f4e760938f5048433f7f272ce99 build_style=gnu-makefile wrksrc="LuaBitOp-${version}" -make_build_args="INCLUDES=-I/usr/include" do_install() { mod_path="${DESTDIR}$(lua installpath.lua bit)" diff --git a/srcpkgs/lua-MessagePack/template b/srcpkgs/lua-MessagePack/template index cd759bc34e..2bf917f960 100644 --- a/srcpkgs/lua-MessagePack/template +++ b/srcpkgs/lua-MessagePack/template @@ -10,11 +10,9 @@ license="MIT" homepage="https://github.com/fperrad/lua-MessagePack" distfiles="${homepage}/archive/${version}.tar.gz" checksum=2cc1e2458d0f1eee8f02263848fa5055894303c056fd2e49aa9c3fb54ccbb5a0 -build_style=gnu-makefile -make_install_args=" LUAVER=5.2" -do_build() { - /bin/true +do_install() { + make PREFIX=/usr DESTDIR="${DESTDIR}" LUAVER=5.2 install }