diff options
Diffstat (limited to 'community/luabind/PKGBUILD')
-rw-r--r-- | community/luabind/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community/luabind/PKGBUILD b/community/luabind/PKGBUILD new file mode 100644 index 000000000..15b9e9888 --- /dev/null +++ b/community/luabind/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Jakob Gruber <jakob.gruber@gmail.com> +# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> +# Contributor: rayte <rabyte.at.gmail.dot.com> + +pkgname=luabind +pkgver=0.9.1 +pkgrel=2 +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=('unzip' 'boost' 'boost-build') +depends=('lua' 'gcc-libs') +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz" + "luabind_boost.patch") + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + patch -Np1 -i ${srcdir}/luabind_boost.patch + + # build luabind + bjam release --prefix=${pkgdir}/usr/ link=static,shared +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + bjam release --prefix=${pkgdir}/usr/ link=static,shared install + + # copy license + install -Dm644 ${srcdir}/${pkgname}-${pkgver}/LICENSE \ + ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} + +md5sums=('8a323fb51d07dad5cfdb12c432793d55' + 'd62ae6fc635300bc659df9dbb587ac53') |