diff options
author | Ian D. Scott | 2016-02-14 10:46:00 -0800 |
---|---|---|
committer | Ian D. Scott | 2016-02-14 10:46:00 -0800 |
commit | 2b03bd9e83b7643845ca616b3f00b10ba7499959 (patch) | |
tree | 817607423a3f64a46439636444e050fa98abfd3f | |
download | aur-2b03bd9e83b7643845ca616b3f00b10ba7499959.tar.gz |
Write PKGBUILD
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6a8fe7f8f573 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = luadoc + pkgdesc = Lua documentation generator + pkgver = 3.0.1 + pkgrel = 1 + url = https://keplerproject.github.io/luadoc/ + arch = any + license = MIT + depends = lua51 + depends = lua51-filesystem + source = http://files.luaforge.net/releases/luadoc/luadoc/LuaDoc-3.0.1/luadoc-3.0.1.tar.gz + md5sums = ec3a0c0b9413e401a2d466cc0930d505 + +pkgname = luadoc + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cbeaa58534da --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Ian D. Scott <ian@perebruin.com> + +pkgname=luadoc +pkgver=3.0.1 +pkgrel=1 +pkgdesc="Lua documentation generator" +arch=('any') +url="https://keplerproject.github.io/luadoc/" +license=('MIT') +depends=('lua51' 'lua51-filesystem') +source=("http://files.luaforge.net/releases/luadoc/luadoc/LuaDoc-3.0.1/luadoc-${pkgver}.tar.gz") +md5sums=('ec3a0c0b9413e401a2d466cc0930d505') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i "s|/usr/local|${pkgdir}/usr|" config + sed -i "s|#!/usr/bin/env lua|#!/usr/bin/env lua5.1|" src/luadoc.lua.in + +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make install +} |