equal
deleted
inserted
replaced
1 # Contributor: Anders Bergh <anders1@gmail.com> |
|
2 pkgname=copas |
|
3 pkgver=1.1.1 |
|
4 pkgrel=2 |
|
5 pkgdesc="Coroutine Oriented Portable Asynchronous Services for Lua" |
|
6 arch=('i686' 'x86_64') |
|
7 url="http://www.keplerproject.org/copas/" |
|
8 license=('custom') |
|
9 depends=('lua' 'luasocket') |
|
10 source=('http://luaforge.net/frs/download.php/2559/copas-1.1.1.tar.gz' |
|
11 'LICENSE') |
|
12 md5sums=('92e50bd367af81c7a50d349990f9ad97' |
|
13 '001e5e34c6e51b2c8501fd1c9dfad9fe') |
|
14 |
|
15 build() { |
|
16 cd "$startdir/src/$pkgname-$pkgver" |
|
17 |
|
18 mkdir -p "$startdir/pkg/usr/share/lua/5.1/copas" |
|
19 cp src/copas/copas.lua "$startdir/pkg/usr/share/lua/5.1/copas" |
|
20 ln -s /usr/share/lua/5.1/copas/copas.lua "$startdir/pkg/usr/share/lua/copas.lua" |
|
21 |
|
22 mkdir -p "$startdir/pkg/usr/share/licenses/copas" |
|
23 cp $startdir/src/LICENSE "$startdir/pkg/usr/share/licenses/copas" |
|
24 } |
|
25 |
|
26 # vim:set ts=2 sw=2 et: |
|