diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 5 deletions
@@ -1,11 +1,14 @@ pkgbase = lua-pegdebug pkgdesc = Trace debugger for LPeg rules and captures pkgver = 0.41 - pkgrel = 2 + pkgrel = 3 url = https://github.com/pkulchenko/PegDebug arch = i686 arch = x86_64 license = MIT + makedepends = lua + makedepends = lua52 + makedepends = lua51 makedepends = luarocks source = pegdebug-0.41.tar.gz::https://github.com/pkulchenko/PegDebug/archive/0.41.tar.gz sha256sums = 0ba8c5ee25cf24e011b29d40cfa5577b19cb4d9d8a086e9238187e7831fb39d1 @@ -5,19 +5,20 @@ _pkgname=PegDebug pkgname=("lua-$_rockname" "lua52-$_rockname" "lua51-$_rockname") pkgver=0.41 _rockrel=1 -pkgrel=2 +pkgrel=3 pkgdesc='Trace debugger for LPeg rules and captures' arch=('i686' 'x86_64') url="https://github.com/pkulchenko/$_pkgname" license=('MIT') _lua_deps=('lpeg') -makedepends=('luarocks') -source=("$_rockname-$pkgver.tar.gz::https://github.com/pkulchenko/$_pkgname/archive/$pkgver.tar.gz") +makedepends=('lua' 'lua52' 'lua51' 'luarocks') +source=("$_rockname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") sha256sums=('0ba8c5ee25cf24e011b29d40cfa5577b19cb4d9d8a086e9238187e7831fb39d1') _package_helper() { cd "$_pkgname-$pkgver" - luarocks --lua-version="$1" --tree="$pkgdir/usr/" make --deps-mode=none --no-manifest "misc/$_rockname-$pkgver-$_rockrel.rockspec" + luarocks --lua-version="$1" --tree="$pkgdir/usr/" \ + make --deps-mode=none --no-manifest "misc/$_rockname-$pkgver-$_rockrel.rockspec" } package_lua-pegdebug() { |