[arch-commits] Commit in luaexpat/repos/community-x86_64 (PKGBUILD PKGBUILD)
Sergej Pupykin
spupykin at gemini.archlinux.org
Mon Aug 29 20:08:59 UTC 2022
Date: Monday, August 29, 2022 @ 20:08:59
Author: spupykin
Revision: 1285800
archrelease: copy trunk to community-x86_64
Added:
luaexpat/repos/community-x86_64/PKGBUILD
(from rev 1285796, luaexpat/trunk/PKGBUILD)
Deleted:
luaexpat/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 126 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 63 insertions(+), 63 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-29 20:08:53 UTC (rev 1285799)
+++ PKGBUILD 2022-08-29 20:08:59 UTC (rev 1285800)
@@ -1,63 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: Daurnimator <daurnimator at archlinux.org>
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Lucas Hermann Negri <kkndrox at gmail.com>
-
-pkgbase=luaexpat
-pkgname=(lua-expat lua51-expat lua52-expat lua53-expat)
-pkgver=1.4.1
-pkgrel=2
-_rockrel=1
-pkgdesc='SAX XML parser based on the Expat library'
-arch=('x86_64')
-url="https://github.com/lunarmodules/$pkgbase"
-license=('MIT')
-depends=(expat)
-options=(debug)
-makedepends=(lua
- lua51
- lua52
- lua53
- luarocks)
-options=(debug)
-_archive="$pkgbase-$pkgver"
-_rock="$_archive-$_rockrel.linux-$CARCH.rock"
-_rockspec="$_archive-$_rockrel.rockspec"
-source=("$url/archive/$pkgver/$_archive.tar.gz")
-sha512sums=('fbc03287a237c13f395574ddf08a931ded0f457728b01bdc0a0533d212a0c908d74230be3c9e7f85a54ac244043cd853be3bf13d284185ad3e3ce6818d157635')
-
-build() {
- cd "$_archive"
- for LUAVER in 5.{1,2,3,4}; do
- luarocks --lua-version "$LUAVER" \
- CFLAGS="$CFLAGS -DLUA_C89_NUMBERS" \
- make --pack-binary-rock --deps-mode none -- "rockspecs/$_rockspec"
- install -Dm0644 -t "lua-$LUAVER/" "$_rock"
- done
-}
-
-_package() {
- cd "$_archive"
- depends+=("${pkgname%-*}")
- luarocks --lua-version "$1" --tree "$pkgdir/usr/" \
- install --deps-mode none --no-manifest -- "lua-$1/$_rock"
- install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
-}
-
-package_lua-expat() {
- _package 5.4
-}
-
-package_lua53-expat() {
- _package 5.3
-}
-
-package_lua52-expat() {
- _package 5.2
-}
-
-package_lua51-expat() {
- replaces=(luaexpat)
- conflicts=(luaexpat)
- _package 5.1
-}
Copied: luaexpat/repos/community-x86_64/PKGBUILD (from rev 1285796, luaexpat/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-29 20:08:59 UTC (rev 1285800)
@@ -0,0 +1,63 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Lucas Hermann Negri <kkndrox at gmail.com>
+
+pkgbase=luaexpat
+pkgname=(lua-expat lua51-expat lua52-expat lua53-expat)
+pkgver=1.5.0
+pkgrel=1
+_rockrel=1
+pkgdesc='SAX XML parser based on the Expat library'
+arch=('x86_64')
+url="https://github.com/lunarmodules/$pkgbase"
+license=('MIT')
+depends=(expat)
+options=(debug)
+makedepends=(lua
+ lua51
+ lua52
+ lua53
+ luarocks)
+options=(debug)
+_archive="$pkgbase-$pkgver"
+_rock="$_archive-$_rockrel.linux-$CARCH.rock"
+_rockspec="$_archive-$_rockrel.rockspec"
+source=("$url/archive/$pkgver/$_archive.tar.gz")
+sha512sums=('0ac151148101d62f1358f5f310be57de5379891ceda76f0eb821a8b56d0d9c781feaf1db601d982339cd4837f9504b1f9b8b14ebf3a7245925473f6824bbc8b3')
+
+build() {
+ cd "$_archive"
+ for LUAVER in 5.{1,2,3,4}; do
+ luarocks --lua-version "$LUAVER" \
+ CFLAGS="$CFLAGS -DLUA_C89_NUMBERS" \
+ make --pack-binary-rock --deps-mode none -- "rockspecs/$_rockspec"
+ install -Dm0644 -t "lua-$LUAVER/" "$_rock"
+ done
+}
+
+_package() {
+ cd "$_archive"
+ depends+=("${pkgname%-*}")
+ luarocks --lua-version "$1" --tree "$pkgdir/usr/" \
+ install --deps-mode none --no-manifest -- "lua-$1/$_rock"
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+}
+
+package_lua-expat() {
+ _package 5.4
+}
+
+package_lua53-expat() {
+ _package 5.3
+}
+
+package_lua52-expat() {
+ _package 5.2
+}
+
+package_lua51-expat() {
+ replaces=(luaexpat)
+ conflicts=(luaexpat)
+ _package 5.1
+}
More information about the arch-commits
mailing list