blob: 97819127ebeefaef7adeaed260aed7831a08065e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# $Id: PKGBUILD 61380 2011-12-29 16:34:45Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Anders Bergh <anders1@gmail.com>
pkgname=luasql-mysql
pkgver=2.2.0
pkgrel=1
pkgdesc="MySQL module for Lua"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.keplerproject.org/luasql/"
license=('MIT')
depends=('lua' 'libmysqlclient')
source=(https://github.com/downloads/keplerproject/luasql/luasql-$pkgver.tar.gz)
md5sums=('59d72db444c6369c936d4f03694db6b7')
build() {
cd "$srcdir/luasql-$pkgver"
make T=mysql PREFIX=/usr DRIVER_LIBS="$(mysql_config --libs)" \
DRIVER_INCS="$(mysql_config --include) -fPIC"
install -Dm644 src/mysql.so $pkgdir/usr/lib/lua/5.1/luasql/mysql.so
install -Dm644 doc/us/license.html $pkgdir/usr/share/licenses/$pkgname/license.html
}
|