diff options
author | Tomas Krizek | 2019-05-06 16:34:13 +0200 |
---|---|---|
committer | Tomas Krizek | 2019-05-06 16:36:08 +0200 |
commit | a816970054f611aa7f0ed99082e66efcf05a6ba0 (patch) | |
tree | 0d60614f030518c229af4eeb50598c7c5ef3c909 | |
download | aur-a816970054f611aa7f0ed99082e66efcf05a6ba0.tar.gz |
initial package
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..10cee869b7b0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = lua-curl + pkgver = 0.3.9 + pkgrel = 1 + url = https://github.com/Lua-cURL/Lua-cURLv3 + arch = x86_64 + license = MIT + makedepends = lua + makedepends = lua51 + makedepends = lua52 + depends = curl + source = Lua-cURL-0.3.9.tar.gz::https://github.com/Lua-cURL/Lua-cURLv3/archive/v0.3.9.tar.gz + sha256sums = c0e3f074b68b6e06d7f3c46ecfc742e810482128cb4b435c0caf1beb9ef4c066 + +pkgname = lua-curl + pkgdesc = Lua 5.3 binding to libcurl + +pkgname = lua51-curl + pkgdesc = Lua 5.1 binding to libcurl + +pkgname = lua52-curl + pkgdesc = Lua 5.2 binding to libcurl + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1fed3d4f6558 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Tomas Krizek <tomas.krizek@mailbox.org> + +pkgname=('lua-curl' 'lua51-curl' 'lua52-curl') +_pkgname=Lua-cURL +pkgver=0.3.9 +pkgrel=1 +arch=('x86_64') +url='https://github.com/Lua-cURL/Lua-cURLv3' +license=('MIT') +depends=('curl') +makedepends=('lua' 'lua51' 'lua52') +source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}v3/archive/v${pkgver}.tar.gz") +sha256sums=('c0e3f074b68b6e06d7f3c46ecfc742e810482128cb4b435c0caf1beb9ef4c066') + +package_lua-curl() { + pkgdesc="Lua 5.3 binding to libcurl" + + cd "${_pkgname}v3-${pkgver}" + make clean + make DESTDIR="${pkgdir}/" LUA_IMPL=lua install +} + +package_lua51-curl() { + pkgdesc="Lua 5.1 binding to libcurl" + + cd "${_pkgname}v3-${pkgver}" + make clean + make DESTDIR="${pkgdir}/" LUA_IMPL=lua51 install +} + +package_lua52-curl() { + pkgdesc="Lua 5.2 binding to libcurl" + + cd "${_pkgname}v3-${pkgver}" + make clean + make DESTDIR="${pkgdir}/" LUA_IMPL=lua52 install +} |