# Maintainer: Natanael Copa pkgname=lua pkgver=5.1.5 pkgrel=3 pkgdesc="A powerful light-weight programming language designed for extending applications." url="http://www.lua.org/" arch="noarch" license="MIT" depends="lua5.1" makedepends="lua5.1-dev" subpackages="$pkgname-dev $pkgname-doc" source="" build() { return 0 } package() { mkdir -p "$pkgdir"/usr/bin ln -s lua5.1 "$pkgdir"/usr/bin/lua } dev() { depends="lua5.1-dev" mkdir -p "$subpkgdir"/usr/lib/pkgconfig ln -s lua5.1.pc "$subpkgdir"/usr/lib/pkgconfig/lua.pc } doc() { depends="lua5.2-doc" mkdir -p "$subpkgdir"/usr/share/man/man1 ln -s lua5.1.1 "$subpkgdir"/usr/share/man/man1/lua.1 ln -s luac5.1.1 "$subpkgdir"/usr/share/man/man1/luac.1 }