diff options
author | root <root@rshg054.dnsready.net> | 2012-11-16 01:35:29 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-11-16 01:35:29 -0800 |
commit | 73cd7952c96190212616ca90d5afe1ce5cb2c9ce (patch) | |
tree | 274972d0d967441e136af716dd87f3cee0cee7f2 /community/luasql | |
parent | 130aa30d45bf33a5ce926be8697a0e0c077cdc22 (diff) |
Fri Nov 16 01:34:04 PST 2012
Diffstat (limited to 'community/luasql')
-rw-r--r-- | community/luasql/PKGBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/community/luasql/PKGBUILD b/community/luasql/PKGBUILD new file mode 100644 index 000000000..54aff4c20 --- /dev/null +++ b/community/luasql/PKGBUILD @@ -0,0 +1,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') +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 +} |