summaryrefslogtreecommitdiff
path: root/pcr/toluapp/PKGBUILD
blob: fa8c841c68ff52351c8f3e49f4608462b452e63f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: Stéphane Gaudreault <stephane.gaudreault@gmail.com>
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>

pkgname=toluapp
pkgver=1.0.93
pkgrel=5
pkgdesc="Tool to integrate C/C++ code with Lua"
url="http://www.codenix.com/~tolua"
depends=('lua')
makedepends=('scons')
license=('MIT')
arch=('i686' 'x86_64')
source=(http://www.codenix.com/~tolua/tolua++-${pkgver}.tar.bz2 config_linux.py)
md5sums=('100aa6907b8108582080b37d79c0afd7' 'f85232adfa873ea012088dd4d7fb63d7')

build() {
   cd "${srcdir}/tolua++-${pkgver}"
   cp ../config_linux.py ${srcdir}/tolua++-${pkgver}

   scons all
}

package() {
   cd "${srcdir}/tolua++-${pkgver}"
   scons prefix=${pkgdir}/usr install
}
md5sums=('100aa6907b8108582080b37d79c0afd7'
         'f85232adfa873ea012088dd4d7fb63d7')