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

Sven-Hendrik Haase svenstaro at archlinux.org
Tue Nov 24 08:10:00 UTC 2015


    Date: Tuesday, November 24, 2015 @ 09:10:00
  Author: svenstaro
Revision: 147631

archrelease: copy trunk to community-i686, community-x86_64

Added:
  tolua++/repos/community-i686/PKGBUILD
    (from rev 147630, tolua++/trunk/PKGBUILD)
  tolua++/repos/community-x86_64/PKGBUILD
    (from rev 147630, tolua++/trunk/PKGBUILD)
Deleted:
  tolua++/repos/community-i686/PKGBUILD
  tolua++/repos/community-i686/config_linux.py
  tolua++/repos/community-x86_64/PKGBUILD
  tolua++/repos/community-x86_64/config_linux.py

----------------------------------+
 /PKGBUILD                        |   70 +++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD          |   35 ------------------
 community-i686/config_linux.py   |   22 -----------
 community-x86_64/PKGBUILD        |   35 ------------------
 community-x86_64/config_linux.py |   22 -----------
 5 files changed, 70 insertions(+), 114 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2015-11-24 08:09:51 UTC (rev 147630)
+++ community-i686/PKGBUILD	2015-11-24 08:10:00 UTC (rev 147631)
@@ -1,35 +0,0 @@
-# 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=1
-pkgdesc="Tool to integrate C/C++ code with Lua"
-arch=('i686' 'x86_64')
-url="http://www.codenix.com/~tolua"
-license=('MIT')
-depends=('lua51')
-makedepends=('scons')
-options=('staticlibs')
-source=(http://www.codenix.com/~tolua/${pkgname}-${pkgver}.tar.bz2
-        config_linux.py)
-md5sums=('100aa6907b8108582080b37d79c0afd7'
-         '69ad5067084cec2924f172bb04700da6')
-provides=('toluapp')
-
-build() {
-    cd ${pkgname}-${pkgver}
-    cp ../config_linux.py "${srcdir}"/${pkgname}-${pkgver}
-
-    scons all
-}
-
-package() {
-    cd ${pkgname}-${pkgver}
-    scons prefix="${pkgdir}/usr" install
-
-    # install license files
-    install -Dm644 "$srcdir/${pkgname}-${pkgver}/COPYRIGHT" "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT"
-}

Copied: tolua++/repos/community-i686/PKGBUILD (from rev 147630, tolua++/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-11-24 08:10:00 UTC (rev 147631)
@@ -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=2
+pkgdesc="Tool to integrate C/C++ code with Lua"
+arch=('i686' '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})
+md5sums=('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"
+}

Deleted: community-i686/config_linux.py
===================================================================
--- community-i686/config_linux.py	2015-11-24 08:09:51 UTC (rev 147630)
+++ community-i686/config_linux.py	2015-11-24 08:10:00 UTC (rev 147631)
@@ -1,22 +0,0 @@
-## This is the linux configuration file
-# This file was adapted to be used with ArchLinux
-# Use 'scons -h' to see the list of command line options available
-
-# Compiler flags (based on ArchLinux's installation of lua)
-#LINKFLAGS = ['-g']
-CCFLAGS = ['-I/usr/include/lua5.1', '-O2', '-ansi', '-Wall', '-fPIC']
-#CCFLAGS = ['-g']
-
-# this is the default directory for installation. Files will be installed on
-# <prefix>/bin, <prefix>/lib and <prefix>/include when you run 'scons install'
-#
-# You can also specify this directory on the command line with the 'prefix'
-# option
-#
-# You can see more 'generic' options for POSIX systems on config_posix.py
-
-prefix = '/usr'
-
-# libraries (based on ArchLinux's installation of lua)
-LIBS = ['lua5.1', 'dl', 'm']
-

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2015-11-24 08:09:51 UTC (rev 147630)
+++ community-x86_64/PKGBUILD	2015-11-24 08:10:00 UTC (rev 147631)
@@ -1,35 +0,0 @@
-# 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=1
-pkgdesc="Tool to integrate C/C++ code with Lua"
-arch=('i686' 'x86_64')
-url="http://www.codenix.com/~tolua"
-license=('MIT')
-depends=('lua51')
-makedepends=('scons')
-options=('staticlibs')
-source=(http://www.codenix.com/~tolua/${pkgname}-${pkgver}.tar.bz2
-        config_linux.py)
-md5sums=('100aa6907b8108582080b37d79c0afd7'
-         '69ad5067084cec2924f172bb04700da6')
-provides=('toluapp')
-
-build() {
-    cd ${pkgname}-${pkgver}
-    cp ../config_linux.py "${srcdir}"/${pkgname}-${pkgver}
-
-    scons all
-}
-
-package() {
-    cd ${pkgname}-${pkgver}
-    scons prefix="${pkgdir}/usr" install
-
-    # install license files
-    install -Dm644 "$srcdir/${pkgname}-${pkgver}/COPYRIGHT" "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT"
-}

Copied: tolua++/repos/community-x86_64/PKGBUILD (from rev 147630, tolua++/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-11-24 08:10:00 UTC (rev 147631)
@@ -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=2
+pkgdesc="Tool to integrate C/C++ code with Lua"
+arch=('i686' '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})
+md5sums=('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"
+}

Deleted: community-x86_64/config_linux.py
===================================================================
--- community-x86_64/config_linux.py	2015-11-24 08:09:51 UTC (rev 147630)
+++ community-x86_64/config_linux.py	2015-11-24 08:10:00 UTC (rev 147631)
@@ -1,22 +0,0 @@
-## This is the linux configuration file
-# This file was adapted to be used with ArchLinux
-# Use 'scons -h' to see the list of command line options available
-
-# Compiler flags (based on ArchLinux's installation of lua)
-#LINKFLAGS = ['-g']
-CCFLAGS = ['-I/usr/include/lua5.1', '-O2', '-ansi', '-Wall', '-fPIC']
-#CCFLAGS = ['-g']
-
-# this is the default directory for installation. Files will be installed on
-# <prefix>/bin, <prefix>/lib and <prefix>/include when you run 'scons install'
-#
-# You can also specify this directory on the command line with the 'prefix'
-# option
-#
-# You can see more 'generic' options for POSIX systems on config_posix.py
-
-prefix = '/usr'
-
-# libraries (based on ArchLinux's installation of lua)
-LIBS = ['lua5.1', 'dl', 'm']
-



More information about the arch-commits mailing list