diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-11-16 22:03:54 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-11-16 22:03:54 +0100 |
commit | d503056ff0810f0e9a4d7430dd9a99ef666240d9 (patch) | |
tree | ce61331f893f95b1d3ae90eb3ea8e00adf2aa546 /community/luasql | |
parent | 0f2c3b17c081339b0c78fc54aa64a13a6b7e7c6e (diff) | |
parent | 99c34471cedb5de3afae4e33c48239abbe1410c7 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/gtk-engine-unico/PKGBUILD
community/libfm/PKGBUILD
community/lxlauncher/PKGBUILD
community/lxpanel/PKGBUILD
community/ncmpcpp/PKGBUILD
community/sshguard/PKGBUILD
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 +} |