author | Anders Bergh <anders1@gmail.com> |
Mon, 17 Dec 2007 04:44:31 +0100 | |
changeset 1 | c42d991ddcdb |
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=lualogging |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
3 |
pkgver=1.1.4 |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
4 |
pkgrel=1 |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
5 |
pkgdesc="A simple API to use logging features in 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/lualogging/" |
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') |
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/2693/lualogging-1.1.4.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 |
) |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
13 |
md5sums=('72a8622748a525f5fb8ed23278326f80' |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
14 |
'c2a5289bdfe3702fd77b365a48251c08') |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
15 |
|
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
16 |
build() { |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
17 |
cd "$startdir/src/$pkgname-$pkgver/src" |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
18 |
|
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
19 |
mkdir -p "$startdir/pkg/usr/share/lua/5.1/logging" |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
20 |
cp logging/*.lua "$startdir/pkg/usr/share/lua/5.1/logging" |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
21 |
mv "$startdir/pkg/usr/share/lua/5.1/logging/logging.lua" "$startdir/pkg/usr/share/lua/5.1" |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
22 |
|
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
23 |
mkdir -p "$startdir/pkg/usr/share/licenses/lualogging" |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
24 |
cp "$startdir/src/LICENSE" "$startdir/pkg/usr/share/licenses/lualogging" |
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 |
|
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
27 |
# vim:set ts=2 sw=2 et: |