blob: fb2b2b8cf1a97c5e8e75c2686e07b087a6c9770a (
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
25
26
27
28
29
30
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
pkgname=lua-busted
pkgver=2.0.0
_rockname=busted
_rockrel=1
pkgrel=2
pkgdesc="Elegant Lua unit testing."
arch=('i686' 'x86_64')
url="http://olivinelabs.com/busted/"
license=('MIT')
depends=('lua'
'lua-cliargs'
'lua-filesystem'
'lua-dkjson'
'lua-say'
'lua-luassert'
'lua-term'
'lua-penlight'
'lua-mediator')
makedepends=('luarocks')
conflicts=()
source=("https://luarocks.org/$_rockname-$pkgver-$_rockrel.rockspec")
sha256sums=('7cb1d99772b5c7df08f7798ffb0e5b06c392a778f6b1ab923dc6d02e57497c31')
package() {
luarocks --tree="$pkgdir/usr" install --deps-mode=none "$_rockname-$pkgver-$_rockrel.rockspec"
sed -i -e "s#$pkgdir##" "$pkgdir/usr/bin/busted"
find "$pkgdir/usr" -name manifest -delete
}
|