summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 33133a8d0e77aac038906b00488065015a622e68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Caleb Maclennan <caleb@alerque.com>

pkgname=lua-cosmo
pkgver=16.06.04
_rockname=cosmo
_rockrel=1
pkgrel=1
pkgdesc="Safe templates for Lua"
arch=('i686' 'x86_64')
url="http://cosmo.luaforge.net/"
license=('MIT')
depends=('lua' 'lua-lpeg')
makedepends=('luarocks')
conflicts=()
source=("https://luarocks.org/$_rockname-$pkgver-$_rockrel.src.rock")
sha256sums=('9c83d50c8b734c0d405f97df9940ddb27578214033fd0e3cfc3e7420c999b9a9')

package() {
  luarocks --tree="$pkgdir/usr" install --deps-mode=none "$_rockname-$pkgver-$_rockrel.src.rock"
  find "$pkgdir/usr" -name manifest -delete
}