updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / lsqlite3 / PKGBUILD
blobead38cfaaab7f50a26e6e267ed3816fa81ea10ae
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=lsqlite3
4 pkgver=0.7
5 pkgrel=1
6 pkgdesc="A binding for Lua to the SQLite3 database library"
7 arch=(i686 x86_64)
8 url="http://luaforge.net/projects/luasqlite/"
9 license=('GPL')
10 depends=('lua' 'sqlite3')
11 source=("http://luaforge.net/frs/download.php/4472/$pkgname-7.tar.gz")
12 md5sums=('ef7afdd3ea7a29333daa951cda3175bb')
14 build() {
15   cd "$srcdir/$pkgname-7"
17   make
20 package() {
21   cd "$srcdir/$pkgname-7"
23   mkdir -p "$pkgdir"/usr/{lib/lua/5.1,share/{$pkgname/examples,doc/$pkgname}}
24   install -Dm 755 $pkgname.so "$pkgdir/usr/lib/lua/5.1"
25   install -Dm 644 examples/* "$pkgdir/usr/share/$pkgname/examples"
26   install -Dm 644 doc/$pkgname.html "$pkgdir/usr/share/doc/$pkgname"
29 # vim:set ts=2 sw=2 et: