diff options
author | trougnouf | 2018-08-31 16:19:24 +0200 |
---|---|---|
committer | trougnouf | 2018-08-31 16:19:24 +0200 |
commit | 5addcce18c8928807bfb090b15d569ae04ba18b7 (patch) | |
tree | c488c7cb5a9c4f3dd03ae3e68f84cfcf2872f155 | |
download | aur-5addcce18c8928807bfb090b15d569ae04ba18b7.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3cd9914349c5 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = lua-multipart-post + pkgdesc = HTTP Multipart Post helper for lua + pkgver = 1.1 + pkgrel = 1 + url = https://github.com/catwell/lua-multipart-post + arch = i686 + arch = x86_64 + license = MIT + depends = lua-socket + source = https://github.com/catwell/lua-multipart-post/archive/v1.1.tar.gz + sha256sums = 0e032ddaa4debe3d33dce635281a64882fd871084747071e4323f3848073d3bd + +pkgname = lua-multipart-post + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..014baa9c83e0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: trougnouf (Benoit Brummer) <trougnouf@gmail.com> + +pkgname=lua-multipart-post +pkgver=1.1 +pkgrel=1 +pkgdesc="HTTP Multipart Post helper for lua" +arch=('i686' 'x86_64') +url="https://github.com/catwell/${pkgname}" +license=('MIT') +depends=('lua-socket') +conflicts=() +source=("${url}/archive/v${pkgver}.tar.gz") +sha256sums=('0e032ddaa4debe3d33dce635281a64882fd871084747071e4323f3848073d3bd') +_luaver=$(lua -v | grep -o '[0-9]\.[0-9]') + +package() { + mkdir -p "${pkgdir}/usr/share/lua/${_luaver}" + cp "${srcdir}/${pkgname}-${pkgver}/multipart-post.lua" "${pkgdir}/usr/share/lua/${_luaver}" +} + |