[arch-commits] Commit in luaexpat/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Jun 4 13:50:57 UTC 2018
Date: Monday, June 4, 2018 @ 13:50:57
Author: felixonmars
Revision: 340334
archrelease: copy trunk to community-x86_64
Added:
luaexpat/repos/community-x86_64/PKGBUILD
(from rev 340333, luaexpat/trunk/PKGBUILD)
Deleted:
luaexpat/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 126 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 63 insertions(+), 63 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-04 13:50:43 UTC (rev 340333)
+++ PKGBUILD 2018-06-04 13:50:57 UTC (rev 340334)
@@ -1,63 +0,0 @@
-# $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 lua52-expat)
-pkgver=1.3.0
-pkgrel=3
-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' 'lua52' 'expat')
-source=("http://matthewwild.co.uk/projects/luaexpat/luaexpat-$pkgver.tar.gz")
-md5sums=('3c20b5795e7107f847f8da844fbfe2da')
-
-prepare() {
- cp -a $pkgbase-$pkgver $pkgbase-$pkgver-51
- cp -a $pkgbase-$pkgver $pkgbase-$pkgver-52
-}
-
-build() {
- # 5.1
- msg2 "Building $pkgbase with lua 5.1"
- cd "$srcdir"/$pkgbase-$pkgver-51
- make LUA_V=5.1
-
- # 5.2
- msg2 "Building $pkgbase with lua 5.2"
- cd "$srcdir"/$pkgbase-$pkgver-52
- make LUA_V=5.2 CFLAGS='-DLUA_32BITS'
-
- # 5.3
- msg2 "Building $pkgbase with lua 5.3"
- cd "$srcdir/$pkgbase-$pkgver"
- 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"
-}
-
-package_lua52-expat() {
- depends=('lua52' 'expat')
-
- cd $pkgbase-$pkgver-52
- make LUA_V=5.2 DESTDIR="$pkgdir" install
- install -Dm0644 doc/us/license.html "$pkgdir/usr/share/licenses/$pkgname/license.html"
-}
Copied: luaexpat/repos/community-x86_64/PKGBUILD (from rev 340333, luaexpat/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-06-04 13:50:57 UTC (rev 340334)
@@ -0,0 +1,63 @@
+# $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 lua52-expat)
+pkgver=1.3.0
+pkgrel=4
+pkgdesc='SAX XML parser based on the Expat library'
+arch=('x86_64')
+url='http://matthewwild.co.uk/projects/luaexpat/'
+license=('MIT')
+makedepends=('gcc' 'lua' 'lua51' 'lua52' 'expat')
+source=("http://matthewwild.co.uk/projects/luaexpat/luaexpat-$pkgver.tar.gz")
+sha512sums=('91884653310e2dc89ade6d1653875ac8607640a21853d3ccb1fd0f833812e41981fad5c40101732ec249104d2c50c9a332208d1e44423b8428065a223c60b4ae')
+
+prepare() {
+ cp -a $pkgbase-$pkgver $pkgbase-$pkgver-51
+ cp -a $pkgbase-$pkgver $pkgbase-$pkgver-52
+}
+
+build() {
+ # 5.1
+ msg2 "Building $pkgbase with lua 5.1"
+ cd "$srcdir"/$pkgbase-$pkgver-51
+ make LUA_V=5.1
+
+ # 5.2
+ msg2 "Building $pkgbase with lua 5.2"
+ cd "$srcdir"/$pkgbase-$pkgver-52
+ make LUA_V=5.2 CFLAGS='-DLUA_32BITS'
+
+ # 5.3
+ msg2 "Building $pkgbase with lua 5.3"
+ cd "$srcdir/$pkgbase-$pkgver"
+ 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"
+}
+
+package_lua52-expat() {
+ depends=('lua52' 'expat')
+
+ cd $pkgbase-$pkgver-52
+ make LUA_V=5.2 DESTDIR="$pkgdir" install
+ install -Dm0644 doc/us/license.html "$pkgdir/usr/share/licenses/$pkgname/license.html"
+}
More information about the arch-commits
mailing list