blob: e04a02ae1ea5cffa3c3ac9fdea6bb7d387f60213 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: Tomas Krizek <tomas.krizek@mailbox.org>
pkgname=('lua-curl' 'lua51-curl' 'lua52-curl' 'lua53-curl')
_pkgname=Lua-cURL
pkgver=0.3.13
pkgrel=1
arch=('x86_64')
url='https://github.com/Lua-cURL/Lua-cURLv3'
license=('MIT')
depends=('curl')
makedepends=('lua' 'lua51' 'lua52' 'lua53')
source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}v3/archive/v${pkgver}.tar.gz")
sha256sums=('aba40511a7cac4422c0238d1db42b2124ea5a727b0745f7f434f3dc119cbb2db')
package_lua-curl() {
pkgdesc="Lua 5.4 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
}
package_lua53-curl() {
pkgdesc="Lua 5.3 binding to libcurl"
cd "${_pkgname}v3-${pkgver}"
make clean
make DESTDIR="${pkgdir}/" LUA_IMPL=lua53 install
}
|