[arch-commits] Commit in luaexpat/repos/community-x86_64 (PKGBUILD PKGBUILD)

Caleb Maclennan alerque at gemini.archlinux.org
Fri Apr 22 15:03:25 UTC 2022


    Date: Friday, April 22, 2022 @ 15:03:25
  Author: alerque
Revision: 1187352

archrelease: copy trunk to community-x86_64

Added:
  luaexpat/repos/community-x86_64/PKGBUILD
    (from rev 1187351, luaexpat/trunk/PKGBUILD)
Deleted:
  luaexpat/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  125 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 63 insertions(+), 62 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-22 15:03:16 UTC (rev 1187351)
+++ PKGBUILD	2022-04-22 15:03:25 UTC (rev 1187352)
@@ -1,62 +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=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)
-_archive="$pkgbase-$pkgver"
-_rock="$_archive-$_rockrel.linux-$CARCH.rock"
-source=("$url/archive/$pkgver/$_archive.tar.gz")
-sha512sums=('fbc03287a237c13f395574ddf08a931ded0f457728b01bdc0a0533d212a0c908d74230be3c9e7f85a54ac244043cd853be3bf13d284185ad3e3ce6818d157635')
-
-build() {
-	cd "$_archive"
-	for LUAVER in 5.1 5.2 5.3 5.4; do
-		luarocks --lua-version "$LUAVER" \
-			CFLAGS="$CPPFLAGS $CFLAGS -fPIC -DLUA_C89_NUMBERS" \
-			LIBFLAG="$LDFLAGS -shared" \
-			make --pack-binary-rock --deps-mode none -- "rockspecs/$_archive-$_rockrel.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 1187351, luaexpat/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-22 15:03:25 UTC (rev 1187352)
@@ -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.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
+}



More information about the arch-commits mailing list