blob: 69456d40bbdcaa33e2db57ba5b05bf9de51c9b9f (
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
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
_rockname=silex.sile
pkgname=("sile-${_rockname%.sile}")
pkgver=0.6.0
_rockrel=1
pkgrel=2
pkgdesc='Extension layer for SILE and resilient'
arch=(any)
url="https://github.com/Omikhleia/$_rockname"
license=(MIT)
depends=(sile)
makedepends=(lua51
luarocks)
_archive="$_rockname-$pkgver"
source=("$url/archive/v$pkgver/$_archive.tar.gz")
sha256sums=('8706374fb0c7c783219f6ac0bd0b9a5e6d1f4650b92ef72df79d35e07a7caad6')
package() {
cd "$_archive"
luarocks --lua-version 5.1 --tree "$pkgdir/usr/" \
make --deps-mode none --no-manifest "rockspecs/$_archive-$_rockrel.rockspec"
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
}
|