Date: Sunday, January 11, 2015 @ 11:54:32 Author: spupykin Revision: 125721
upgpkg: luasocket 3.0rc1-4 upd Modified: luasocket/trunk/PKGBUILD ----------+ PKGBUILD | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2015-01-11 10:31:20 UTC (rev 125720) +++ PKGBUILD 2015-01-11 10:54:32 UTC (rev 125721) @@ -5,15 +5,22 @@ pkgbase=luasocket pkgname=(lua-socket lua51-socket) pkgver=3.0rc1 -pkgrel=3 +pkgrel=4 pkgdesc='Networking support library for the Lua language' arch=('i686' 'x86_64') url='https://github.com/diegonehab/luasocket' license=('MIT') makedepends=('lua' 'lua51') -source=("$pkgname-$pkgver.tar.gz::https://github.com/diegonehab/luasocket/archive/v${pkgver/rc/-rc}.tar.gz") -md5sums=('08bd2f265b244eb4bf5c2c36bf89b759') +source=("$pkgname-$pkgver.tar.gz::https://github.com/diegonehab/luasocket/archive/v${pkgver/rc/-rc}.tar.gz" + "https://github.com/diegonehab/luasocket/commit/396e9e5.patch") +md5sums=('08bd2f265b244eb4bf5c2c36bf89b759' + '7936d598ea91632e7dcc7aebc93c7300') +prepare() { + cd "${srcdir}/luasocket-${pkgver/rc/-rc}" + patch -p1 < ${srcdir}/396e9e5.patch +} + build() { cp -a luasocket-${pkgver/rc/-rc} luasocket-${pkgver/rc/-rc}-52 msg2 'Building with lua 5.2'