From d624106ccdd7841cc7b6d17b156069422e918bae Mon Sep 17 00:00:00 2001 From: Steve Prybylski Date: Sun, 11 Oct 2015 12:22:08 -0400 Subject: [PATCH] lua-lpeg: fix include and install paths for lua5.3 --- srcpkgs/lua-lpeg/template | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/srcpkgs/lua-lpeg/template b/srcpkgs/lua-lpeg/template index 4048442d5d..b4673ad066 100644 --- a/srcpkgs/lua-lpeg/template +++ b/srcpkgs/lua-lpeg/template @@ -1,7 +1,7 @@ # Template file for 'lua-lpeg' pkgname=lua-lpeg version=1.0.0 -revision=1 +revision=2 hostmakedepends="lua" makedepends="lua-devel" depends="lua>=5.3" @@ -13,12 +13,12 @@ distfiles="${homepage}/${pkgname#lua-}-${version}.tar.gz" wrksrc="${pkgname#lua-}-${version}" checksum=10190ae758a22a16415429a9eb70344cf29cbda738a6962a9f94a732340abf8e -CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/lua5.2" +CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/lua5.3" do_build() { - make CC=$CC CFLAGS="$CFLAGS -fPIC" LUADIR=${XBPS_CROSS_BASE}/usr/include/lua5.2 ${makejobs} + make CC=$CC CFLAGS="$CFLAGS -fPIC" LUADIR=${XBPS_CROSS_BASE}/usr/include/lua5.3 ${makejobs} } do_install() { - install -Dm755 lpeg.so ${DESTDIR}/usr/lib/lua/5.2/lpeg.so - install -Dm644 re.lua ${DESTDIR}/usr/share/lua/5.2/re.lua + vinstall lpeg.so 755 usr/lib/lua/5.3/ + vinstall re.lua 644 usr/share/lua/5.3/ vlicense lpeg.html }