initial import
This commit is contained in:
35
tolua++/PKGBUILD
Normal file
35
tolua++/PKGBUILD
Normal file
@@ -0,0 +1,35 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
# Contributer (Arch): Paramvir Likhari <plikhari at gmail dot com>
|
||||
|
||||
pkgname=tolua++
|
||||
pkgver=1.0.93
|
||||
_pkgname=toluapp-$pkgver
|
||||
pkgrel=1
|
||||
pkgdesc='Tool to integrate C/C++ code with Lua'
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://github.com/LuaDist/toluapp'
|
||||
license=('Expat')
|
||||
depends=('lua51')
|
||||
options=('staticlibs')
|
||||
makedepends=('cmake')
|
||||
source=(https://github.com/LuaDist/toluapp/archive/${pkgver}.tar.gz)
|
||||
sha512sums=('68f169244f1b37fdeb1a72b0f8fc61a30329c0a828f46af718021c8cfa120fe15379b4b2bc10f0995de90e34735564afd6d302fa1865be60272e52e276e1114f')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_pkgname}"
|
||||
|
||||
cmake \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
.
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_pkgname}"
|
||||
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
mkdir -p ${pkgdir}/usr/share/${pkgname}
|
||||
install -D -m755 src/bin/lua/* ${pkgdir}/usr/share/${pkgname}
|
||||
install -Dm644 "$srcdir/${_pkgname}/COPYRIGHT" -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user