blob: 935edd32fe2fa73dfca0933218503aa16083602e (
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
35
36
37
38
39
40
|
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer:
pkgname=lua-sqlite3
pkgver=0.8
_vertag=svn08
pkgrel=0
pkgdesc="Sqlite3 wrapper for Lua"
url=http://lua.sqlite.org/
arch=all
license=BSD
makedepends="lua-dev pkgconfig sqlite-dev"
_zipname=lsqlite3_$_vertag.zip?uuid=svn_8
source=$url/index.cgi/zip/$_zipname
_builddir=$srcdir/lsqlite3_$_vertag
prepare() {
cd "$srcdir"
unzip "$_zipname"
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir/$i" || return 1;;
esac
done
}
build() {
make -C "$_builddir"
}
package() {
cd "$_builddir"
local dir=$pkgdir/usr/lib/lua/5.1
install -d "$dir"
install lsqlite3.so "$dir"
}
md5sums="0e0164091eb361110e057d01f2e6a006 lsqlite3_svn08.zip?uuid=svn_8"
|