author | Anders Bergh <anders1@gmail.com> |
Fri, 21 Dec 2007 22:32:34 +0000 | |
changeset 12 | faa5eb587542 |
parent 3 | 21b0b0f2b2cd |
permissions | -rw-r--r-- |
1
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
1 |
# Contributor: Anders Bergh <anders1@gmail.com> |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
2 |
pkgname=copas |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
3 |
pkgver=1.1.1 |
3
21b0b0f2b2cd
Fix the copas package: wrong path when copying the license
Anders Bergh <anders1@gmail.com>
parents:
1
diff
changeset
|
4 |
pkgrel=2 |
1
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
5 |
pkgdesc="Coroutine Oriented Portable Asynchronous Services for Lua" |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
6 |
arch=('i686' 'x86_64') |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
7 |
url="http://www.keplerproject.org/copas/" |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
8 |
license=('custom') |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
9 |
depends=('lua' 'luasocket') |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
10 |
source=('http://luaforge.net/frs/download.php/2559/copas-1.1.1.tar.gz' |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
11 |
'LICENSE') |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
12 |
md5sums=('92e50bd367af81c7a50d349990f9ad97' |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
13 |
'001e5e34c6e51b2c8501fd1c9dfad9fe') |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
14 |
|
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
15 |
build() { |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
16 |
cd "$startdir/src/$pkgname-$pkgver" |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
17 |
|
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
18 |
mkdir -p "$startdir/pkg/usr/share/lua/5.1/copas" |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
19 |
cp src/copas/copas.lua "$startdir/pkg/usr/share/lua/5.1/copas" |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
20 |
ln -s /usr/share/lua/5.1/copas/copas.lua "$startdir/pkg/usr/share/lua/copas.lua" |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
21 |
|
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
22 |
mkdir -p "$startdir/pkg/usr/share/licenses/copas" |
3
21b0b0f2b2cd
Fix the copas package: wrong path when copying the license
Anders Bergh <anders1@gmail.com>
parents:
1
diff
changeset
|
23 |
cp $startdir/src/LICENSE "$startdir/pkg/usr/share/licenses/copas" |
1
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
24 |
} |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
25 |
|
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
26 |
# vim:set ts=2 sw=2 et: |