blob: 3b7d5115c7b564392aef8e4d04d30f05137156ce (
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
31
32
33
34
|
pkgname=concurrentlua51
pkgver=1.1
pkgrel=1
pkgdesc='ConcurrentLua for Lua 5.1'
arch=(any)
depends=(
lua51-socket
lua51-coxpcall
lua51-copas
# copas requires next deps, but they're not listed in package deps
lua51-binaryheap
lua51-timerwheel
)
makedepends=(
git
make
cmake
lua51
)
conflicts=(concurrentluajit)
url='https://lefcha.github.io/concurrentlua/'
license=('MIT')
source=("git+https://github.com/lefcha/concurrentlua.git#tag=v$pkgver")
sha256sums=('SKIP')
build() {
cd "$srcdir/concurrentlua"
make CC="cc -I /usr/include/lua5.1" LIBLUA="-llua5.1" all
}
package() {
cd "$srcdir/concurrentlua"
make PREFIX="/usr" DESTDIR="$pkgdir" install
}
|