1 # Contributor: Anders Bergh <anders1@gmail.com>
5 pkgdesc="Selene database crypto Lua library"
7 url="http://luaforge.net/projects/sln/"
10 # LuaForge urls have to be updated manually (the ID is different)
11 source=(http://luaforge.net/frs/download.php/1692/slncrypto-1.1.tar.bz2
13 md5sums=('4709bffa83fbd03eeca4174f1a009bb4'
14 '4f35b971b46468d4918ba5f466db6782')
17 cd "${srcdir}/${pkgname}-${pkgver}" || return 1
18 gcc -fPIC -shared $CFLAGS slncrypt.c -o crypto.so || return 1
19 install -Dm755 crypto.so "${pkgdir}/usr/lib/lua/5.1/crypto.so" || return 1
20 install -Dm644 "${srcdir}/license.txt" "${pkgdir}/usr/share/licenses/slncrypto/LICENSE"