blob: 6d3a405474123ccefcda6c84a4dae365ee35ed14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
pkgname='lua-lpeglabel-git'
pkgver=1.6.0
pkgrel=1
pkgdesc='An extension of LPeg that supports labeled failures'
arch=('x86_64' 'armv7h')
url='https://github.com/sqmedeiros/lpeglabel'
license=('MIT')
source=("$pkgname::git+https://github.com/sqmedeiros/lpeglabel")
sha1sums=('SKIP')
depends=('glibc')
build() {
cd $srcdir/$pkgname
make -j1
}
package() {
mkdir -p $pkgdir/usr/share/licenses/$pkgname
install -Dm644 $srcdir/$pkgname/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
mkdir -p $pkgdir/usr/lib/lua/5.3/
mkdir -p $pkgdir/usr/share/lua/5.3/
install -m 755 $srcdir/$pkgname/lpeglabel.so $pkgdir/usr/lib/lua/5.3
install -m 755 $srcdir/$pkgname/relabel.lua $pkgdir/usr/share/lua/5.3
}
|