diff options
-rw-r--r-- | testing/lua-sqlite/APKBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/lua-sqlite/APKBUILD b/testing/lua-sqlite/APKBUILD index 2100b61d47..4996beeed7 100644 --- a/testing/lua-sqlite/APKBUILD +++ b/testing/lua-sqlite/APKBUILD @@ -4,10 +4,10 @@ pkgname=lua-sqlite pkgver=0.9.3 _realver=fsl09w _luaversions="5.1 5.2 5.3" -pkgrel=0 +pkgrel=1 pkgdesc="Sqlite3 Binding for Lua" url="http://lua.sqlite.org/index.cgi/home" -arch="noarch" +arch="all" license="MIT" depends="" depends_dev="" @@ -47,13 +47,13 @@ package() { _split() { local _ver="$1" - arch="all" cd "$srcdir"/$pkgname-$_ver || return 1 pkgdesc="$pkgdesc (Lua $_ver)" install_if="lua$_ver $pkgname=$pkgver-r$pkgrel" ${CC:-gcc} ${CFLAGS} $(pkg-config --cflags sqlite3) \ $(pkg-config --cflags lua$_ver) -shared -fPIC \ - -DLSQLITE_VERSION=\"$pkgver\" -o lsqlite3.so lsqlite3.c || return 1 + -DLSQLITE_VERSION=\"$pkgver\" -o lsqlite3.so lsqlite3.c \ + $(pkg-config --libs sqlite3) || return 1 install -Dm755 lsqlite3.so \ "$subpkgdir"/usr/lib/lua/$_ver/lsqlite3.so || return 1 } |