PKGBUILDs/community/luadoc/PKGBUILD

22 lines
749 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Paulo Matias <matiasΘarchlinux-br·org>
pkgname="luadoc"
pkgver="3.0.1"
pkgrel=1
pkgdesc="A documentation generator tool for Lua source code"
arch=('i686' 'x86_64')
url="http://luadoc.luaforge.net"
license=('MIT')
depends=('lua' 'luafilesystem>=1.2.1' 'lualogging>=1.1.3')
source=("http://luaforge.net/frs/download.php/3185/$pkgname-$pkgver.tar.gz"
'LICENSE')
md5sums=('ec3a0c0b9413e401a2d466cc0930d505'
'c2a5289bdfe3702fd77b365a48251c08')
build() {
cd "$srcdir/$pkgname-$pkgver"
make PREFIX="$pkgdir/usr" install || return 1
install -d "$pkgdir/usr/share/licenses/$pkgname" || return 1
install -m644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname"
}