summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c82fef7ce9b56b25e49cad97bdf208e23a7c91db (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
29
30
pkgname=luabind-rpavlik-git
pkgver=v0.9.r145.ga0edf58
pkgrel=1
provides=('luabind')
pkgdesc="A library that helps you create bindings between C++ and Lua"
arch=('i686' 'x86_64')
url="http://www.rasterbar.com/products/luabind.html"
license=('MIT')
makedepends=('boost' 'boost-build')
depends=('lua' 'gcc-libs')
source=("luabind::git+https://github.com/rpavlik/luabind.git")
md5sums=('SKIP')

pkgver() {
  cd luabind 
  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}


build() {
  cd ${srcdir}/luabind
  bjam
}

package() {
  cd ${srcdir}/luabind
  bjam --prefix=${pkgdir}/usr/ install
  cd ${pkgdir}/usr/lib
  ln -s libluabindd.so libluabind.so
}