[arch-commits] Commit in luaexpat/repos (8 files)

Sergej Pupykin spupykin at archlinux.org
Tue May 5 12:47:37 UTC 2015


    Date: Tuesday, May 5, 2015 @ 14:47:37
  Author: spupykin
Revision: 132784

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

Added:
  luaexpat/repos/community-staging-i686/
  luaexpat/repos/community-staging-i686/PKGBUILD
    (from rev 132783, luaexpat/trunk/PKGBUILD)
  luaexpat/repos/community-staging-i686/config.51
    (from rev 132783, luaexpat/trunk/config.51)
  luaexpat/repos/community-staging-i686/config.53
    (from rev 132783, luaexpat/trunk/config.53)
  luaexpat/repos/community-staging-x86_64/
  luaexpat/repos/community-staging-x86_64/PKGBUILD
    (from rev 132783, luaexpat/trunk/PKGBUILD)
  luaexpat/repos/community-staging-x86_64/config.51
    (from rev 132783, luaexpat/trunk/config.51)
  luaexpat/repos/community-staging-x86_64/config.53
    (from rev 132783, luaexpat/trunk/config.53)

------------------------------------+
 community-staging-i686/PKGBUILD    |   51 +++++++++++++++++++++++++++++++++++
 community-staging-i686/config.51   |   26 +++++++++++++++++
 community-staging-i686/config.53   |   26 +++++++++++++++++
 community-staging-x86_64/PKGBUILD  |   51 +++++++++++++++++++++++++++++++++++
 community-staging-x86_64/config.51 |   26 +++++++++++++++++
 community-staging-x86_64/config.53 |   26 +++++++++++++++++
 6 files changed, 206 insertions(+)

Copied: luaexpat/repos/community-staging-i686/PKGBUILD (from rev 132783, luaexpat/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-05-05 12:47:37 UTC (rev 132784)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Lucas Hermann Negri <kkndrox at gmail.com>
+
+pkgbase=luaexpat
+pkgname=(lua-expat lua51-expat)
+pkgver=1.3.0
+pkgrel=2
+pkgdesc='SAX XML parser based on the Expat library'
+arch=('i686' 'x86_64')
+url='http://matthewwild.co.uk/projects/luaexpat/'
+license=('MIT')
+makedepends=('gcc' 'lua' 'lua51' 'expat')
+source=("http://matthewwild.co.uk/projects/luaexpat/luaexpat-$pkgver.tar.gz"
+	    'config.51'
+	    'config.53')
+md5sums=('3c20b5795e7107f847f8da844fbfe2da'
+         '64abbf5b602e0e31b68db2925a5e6b2f'
+         '7d5618fe79b110c34fac530744d72495')
+
+build() {
+  # 5.1
+  msg2 "Building $pkgbase with lua 5.1"
+  cp -a $pkgbase-$pkgver $pkgbase-$pkgver-51
+  cd $pkgbase-$pkgver-51
+#  cp -L "$srcdir/config.51" config
+  make LUA_V=5.1
+  # 5.3
+  msg2 "Building $pkgbase with lua 5.3"
+  cd "$srcdir/$pkgbase-$pkgver"
+#  cp -L "$srcdir/config.53" config
+  make LUA_V=5.3 CFLAGS='-DLUA_32BITS'
+}
+
+package_lua-expat() {
+  depends=('lua' 'expat')
+
+  cd $pkgbase-$pkgver
+  make LUA_V=5.3 DESTDIR="$pkgdir" install
+  install -Dm0644 doc/us/license.html "$pkgdir/usr/share/licenses/$pkgname/license.html"
+}
+
+package_lua51-expat() {
+  depends=('lua51' 'expat')
+  replaces=('luaexpat')
+  conflicts=('luaexpat')
+
+  cd $pkgbase-$pkgver-51
+  make LUA_V=5.1 DESTDIR="$pkgdir" install
+  install -Dm0644 doc/us/license.html "$pkgdir/usr/share/licenses/$pkgname/license.html"
+}

Copied: luaexpat/repos/community-staging-i686/config.51 (from rev 132783, luaexpat/trunk/config.51)
===================================================================
--- community-staging-i686/config.51	                        (rev 0)
+++ community-staging-i686/config.51	2015-05-05 12:47:37 UTC (rev 132784)
@@ -0,0 +1,26 @@
+LUA_LIBDIR= usr/lib/lua/5.1
+LUA_DIR= usr/share/lua/5.1
+LUA_INC= /usr/include/lua5.1
+EXPAT_INC= /usr/include
+
+# OS dependent
+LIB_OPTION= -shared
+
+LIBNAME= $T.so.$V
+LUA_VERSION_NUM= 515
+COMPAT_DIR= ../compat/src
+
+# Compilation parameters
+CWARNS = -Wall -pedantic \
+        -Waggregate-return \
+        -Wcast-align \
+        -Wmissing-prototypes \
+        -Wstrict-prototypes \
+        -Wnested-externs \
+        -Wpointer-arith \
+        -Wshadow \
+        -Wwrite-strings
+
+CFLAGS = $(CWARNS) -ansi -O2 -I$(LUA_INC) \
+   -I$(COMPAT_DIR) -I$(EXPAT_INC) -fPIC
+CC = gcc

Copied: luaexpat/repos/community-staging-i686/config.53 (from rev 132783, luaexpat/trunk/config.53)
===================================================================
--- community-staging-i686/config.53	                        (rev 0)
+++ community-staging-i686/config.53	2015-05-05 12:47:37 UTC (rev 132784)
@@ -0,0 +1,26 @@
+LUA_LIBDIR= usr/lib/lua
+LUA_DIR= usr/share/lua
+LUA_INC= /usr/include
+EXPAT_INC= /usr/include
+
+# OS dependent
+LIB_OPTION= -shared
+
+LIBNAME= $T.so.$V
+LUA_VERSION_NUM= 530
+COMPAT_DIR= ../compat/src
+
+# Compilation parameters
+CWARNS = -Wall -pedantic \
+        -Waggregate-return \
+        -Wcast-align \
+        -Wmissing-prototypes \
+        -Wstrict-prototypes \
+        -Wnested-externs \
+        -Wpointer-arith \
+        -Wshadow \
+        -Wwrite-strings
+
+CFLAGS = $(CWARNS) -ansi -O2 -I$(LUA_INC) \
+   -I$(COMPAT_DIR) -I$(EXPAT_INC) -fPIC -DLUA_32BITS
+CC = gcc

Copied: luaexpat/repos/community-staging-x86_64/PKGBUILD (from rev 132783, luaexpat/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-05-05 12:47:37 UTC (rev 132784)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Lucas Hermann Negri <kkndrox at gmail.com>
+
+pkgbase=luaexpat
+pkgname=(lua-expat lua51-expat)
+pkgver=1.3.0
+pkgrel=2
+pkgdesc='SAX XML parser based on the Expat library'
+arch=('i686' 'x86_64')
+url='http://matthewwild.co.uk/projects/luaexpat/'
+license=('MIT')
+makedepends=('gcc' 'lua' 'lua51' 'expat')
+source=("http://matthewwild.co.uk/projects/luaexpat/luaexpat-$pkgver.tar.gz"
+	    'config.51'
+	    'config.53')
+md5sums=('3c20b5795e7107f847f8da844fbfe2da'
+         '64abbf5b602e0e31b68db2925a5e6b2f'
+         '7d5618fe79b110c34fac530744d72495')
+
+build() {
+  # 5.1
+  msg2 "Building $pkgbase with lua 5.1"
+  cp -a $pkgbase-$pkgver $pkgbase-$pkgver-51
+  cd $pkgbase-$pkgver-51
+#  cp -L "$srcdir/config.51" config
+  make LUA_V=5.1
+  # 5.3
+  msg2 "Building $pkgbase with lua 5.3"
+  cd "$srcdir/$pkgbase-$pkgver"
+#  cp -L "$srcdir/config.53" config
+  make LUA_V=5.3 CFLAGS='-DLUA_32BITS'
+}
+
+package_lua-expat() {
+  depends=('lua' 'expat')
+
+  cd $pkgbase-$pkgver
+  make LUA_V=5.3 DESTDIR="$pkgdir" install
+  install -Dm0644 doc/us/license.html "$pkgdir/usr/share/licenses/$pkgname/license.html"
+}
+
+package_lua51-expat() {
+  depends=('lua51' 'expat')
+  replaces=('luaexpat')
+  conflicts=('luaexpat')
+
+  cd $pkgbase-$pkgver-51
+  make LUA_V=5.1 DESTDIR="$pkgdir" install
+  install -Dm0644 doc/us/license.html "$pkgdir/usr/share/licenses/$pkgname/license.html"
+}

Copied: luaexpat/repos/community-staging-x86_64/config.51 (from rev 132783, luaexpat/trunk/config.51)
===================================================================
--- community-staging-x86_64/config.51	                        (rev 0)
+++ community-staging-x86_64/config.51	2015-05-05 12:47:37 UTC (rev 132784)
@@ -0,0 +1,26 @@
+LUA_LIBDIR= usr/lib/lua/5.1
+LUA_DIR= usr/share/lua/5.1
+LUA_INC= /usr/include/lua5.1
+EXPAT_INC= /usr/include
+
+# OS dependent
+LIB_OPTION= -shared
+
+LIBNAME= $T.so.$V
+LUA_VERSION_NUM= 515
+COMPAT_DIR= ../compat/src
+
+# Compilation parameters
+CWARNS = -Wall -pedantic \
+        -Waggregate-return \
+        -Wcast-align \
+        -Wmissing-prototypes \
+        -Wstrict-prototypes \
+        -Wnested-externs \
+        -Wpointer-arith \
+        -Wshadow \
+        -Wwrite-strings
+
+CFLAGS = $(CWARNS) -ansi -O2 -I$(LUA_INC) \
+   -I$(COMPAT_DIR) -I$(EXPAT_INC) -fPIC
+CC = gcc

Copied: luaexpat/repos/community-staging-x86_64/config.53 (from rev 132783, luaexpat/trunk/config.53)
===================================================================
--- community-staging-x86_64/config.53	                        (rev 0)
+++ community-staging-x86_64/config.53	2015-05-05 12:47:37 UTC (rev 132784)
@@ -0,0 +1,26 @@
+LUA_LIBDIR= usr/lib/lua
+LUA_DIR= usr/share/lua
+LUA_INC= /usr/include
+EXPAT_INC= /usr/include
+
+# OS dependent
+LIB_OPTION= -shared
+
+LIBNAME= $T.so.$V
+LUA_VERSION_NUM= 530
+COMPAT_DIR= ../compat/src
+
+# Compilation parameters
+CWARNS = -Wall -pedantic \
+        -Waggregate-return \
+        -Wcast-align \
+        -Wmissing-prototypes \
+        -Wstrict-prototypes \
+        -Wnested-externs \
+        -Wpointer-arith \
+        -Wshadow \
+        -Wwrite-strings
+
+CFLAGS = $(CWARNS) -ansi -O2 -I$(LUA_INC) \
+   -I$(COMPAT_DIR) -I$(EXPAT_INC) -fPIC -DLUA_32BITS
+CC = gcc



More information about the arch-commits mailing list