PKGBUILDs/community/lualogging/PKGBUILD

30 lines
962 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>
# Contributor: Anders Bergh <anders1@gmail.com>
pkgname=lualogging
pkgver=1.1.4
pkgrel=1
pkgdesc="A simple API to use logging features in Lua"
arch=('i686' 'x86_64')
url="http://www.keplerproject.org/lualogging/"
license=('MIT')
depends=('lua')
source=('http://luaforge.net/frs/download.php/2693/lualogging-1.1.4.tar.gz'
'LICENSE'
)
md5sums=('72a8622748a525f5fb8ed23278326f80'
'c2a5289bdfe3702fd77b365a48251c08')
build() {
cd "$startdir/src/$pkgname-$pkgver/src"
mkdir -p "$startdir/pkg/usr/share/lua/5.1/logging"
cp logging/*.lua "$startdir/pkg/usr/share/lua/5.1/logging"
mv "$startdir/pkg/usr/share/lua/5.1/logging/logging.lua" "$startdir/pkg/usr/share/lua/5.1"
mkdir -p "$startdir/pkg/usr/share/licenses/lualogging"
cp "$startdir/src/LICENSE" "$startdir/pkg/usr/share/licenses/lualogging"
}
# vim:set ts=2 sw=2 et: