On 2011-01-14 <10:30:45>, Evangelos Foutras wrote: > On Fri, Jan 14, 2011 at 10:21 AM, Philipp Gesang > <[email protected]> wrote: > > Hello archers, > > > > for my own use I made a pkgbuild of luaGRAPH[1] and I’d like to > > share it via aur. As this will be my first contribution I guess > > it can’t hurt to have it reviewed here by more experienced users > > before submitting. > > - Get rid of the 'return 1' statements; they are not needed since > pacman/makepkg 3.4.0. > - Remove the name of the package from pkgdesc ("LuaGRAPH is a binary > module ..." becomes "A binary module ..."). > - The LICENSE file is part of the tarball, so remove it from the source array. > > Other than these minor observations, it looks alright. Thanks for > contributing. :)
Hi Evangelos, thanks to you and cantabile I happily append a revised pkgbuild. I’m going to upload it tomorrow evening unless anybody objects till then. Best regard, Philipp
# Maintainer: Philipp Gesang <megas dot kapaneus at gmail dot com>
pkgname=luagraph
pkgver=1.0.4
pkgrel=1
pkgdesc="A binary module to create, manipulate, layout and render graphs using
the Lua programming language."
arch=("any")
url="http://luaforge.net/projects/${pkgname}"
license=("MIT")
depends=("lua" "graphviz")
source=("http://luaforge.net/frs/download.php/4528/${pkgname}-${pkgver}.tar.gz")
md5sums=("f2f71bcbabf243792e230665b1403f58")
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make
install -Dm0755 graph/core.so "${pkgdir}/usr/lib/lua/5.1/graph/core.so"
install -Dm0644 graph.lua "${pkgdir}/usr/lib/lua/5.1/graph.lua"
install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
pgp3dWOZsNqtr.pgp
Description: PGP signature
