[arch-commits] Commit in tolua++/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:53:53 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:53:53
  Author: felixonmars
Revision: 659469

archrelease: copy trunk to community-staging-x86_64

Added:
  tolua++/repos/community-staging-x86_64/
  tolua++/repos/community-staging-x86_64/PKGBUILD
    (from rev 659466, tolua++/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: tolua++/repos/community-staging-x86_64/PKGBUILD (from rev 659466, tolua++/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 16:53:53 UTC (rev 659469)
@@ -0,0 +1,35 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Chirantan Ekbote <ekbotec at chromium.org>
+# Contributer: Doug Newgard <scimmia22 at outlook dot com>
+# Contributer: Stéphane Gaudreault <stephane.gaudreault at gmail.com>
+
+pkgname=tolua++
+pkgver=1.0.93
+pkgrel=4
+pkgdesc="Tool to integrate C/C++ code with Lua"
+arch=('x86_64')
+url="https://github.com/LuaDist/toluapp"
+license=('MIT')
+depends=('lua51')
+makedepends=('cmake' 'git')
+options=('staticlibs')
+source=(git+https://github.com/LuaDist/toluapp.git#tag=${pkgver})
+sha512sums=('SKIP')
+
+build() {
+    cd toluapp
+
+    rm -rf build && mkdir build
+    cd build
+
+    cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+}
+
+package() {
+    cd toluapp/build
+
+    make DESTDIR="${pkgdir}" install
+
+    # install license files
+    install -Dm644 "$srcdir/toluapp/COPYRIGHT" "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT"
+}



More information about the arch-commits mailing list