diff options
Diffstat (limited to 'pcr/luadbi/PKGBUILD')
-rw-r--r-- | pcr/luadbi/PKGBUILD | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/pcr/luadbi/PKGBUILD b/pcr/luadbi/PKGBUILD index 8af0916be..e444a526e 100644 --- a/pcr/luadbi/PKGBUILD +++ b/pcr/luadbi/PKGBUILD @@ -1,28 +1,38 @@ -# Maintainer: Lee T. Starnes <lstarnes1024@gmail.com> +# Maintainer (AUR): Aoibhinn di Tori <email@aoibh.in> +# Contributor (AUR): Lee T. Starnes <lstarnes1024@gmail.com> # Maintainer (Parabola): fauno <fauno@parabola.nu> + +# parabola changes and rationale: +# - removed empty fields +# - install'ing packagefiles instead of cp'ing + pkgname=luadbi pkgver=0.5 -pkgrel=3 +pkgrel=3.1 pkgdesc="Database interface library for Lua" arch=('i686' 'x86_64' 'armv7h') url="http://code.google.com/p/luadbi/" -license=('custom:MIT') -depends=('lua51') -makedepends=('lua51' 'sqlite3' 'libmariadbclient' 'postgresql' 'postgresql-libs') +license=('MIT') +depends=('lua') +makedepends=('lua' 'sqlite3' 'libmariadbclient' 'postgresql' 'postgresql-libs') optdepends=( 'sqlite3: sqlite backend support' 'libmariadbclient: MariaDB (or MySQL) backend support' 'postgresql-libs: PostgreSQL backend support' ) -source=("http://luadbi.googlecode.com/files/$pkgname.$pkgver.tar.gz" "Makefile.diff") +source=("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$pkgname/$pkgname.$pkgver.tar.gz" + "Makefile.diff") +md5sums=('ede2b003aadddc151aac87050c3d926e' + '458d1ded068f7923ce6a89660f680d98') -prepare() { +build() { cd "$srcdir" patch -p1 < Makefile.diff -} -build() { - cd "$srcdir" + # fix suggested by sl1pkn07 on AUR + # DBI.lua has the path to the lua executable hardcoded + sed 's|#!/usr/bin/lua5.1|#!/usr/bin/lua|g' -i DBI.lua + make free } @@ -37,5 +47,3 @@ package() { done } -sha512sums=('4ed641e113e90acc8a4f6b3b2d0f5d5044c0fbbef3b2fdfb84d15e17115e45c553a33b19bfb165e5af11a2adce501d66859963e3363d3ab1c6a39b0b2ae92e62' - '2ff656844f6714bfcbe66fc0b2ada232b5ffe2281ba530648d0faa0c051d6b10100487d6915b9664116e1cce07cb931feb1a19883a30f4ce26e5d08e3a067574') |