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

Caleb Maclennan alerque at gemini.archlinux.org
Thu Dec 30 07:46:24 UTC 2021


    Date: Thursday, December 30, 2021 @ 07:46:24
  Author: alerque
Revision: 1088091

archrelease: copy trunk to community-x86_64

Added:
  lua-bit32/repos/community-x86_64/PKGBUILD
    (from rev 1088090, lua-bit32/trunk/PKGBUILD)
Deleted:
  lua-bit32/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  109 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 55 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-30 07:45:44 UTC (rev 1088090)
+++ PKGBUILD	2021-12-30 07:46:24 UTC (rev 1088091)
@@ -1,54 +0,0 @@
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Stephen Smith <stephen304 at gmail.com>
-
-pkgbase=lua-bit32
-_rockname=${pkgbase#lua-}
-pkgname=("$pkgbase" "lua51-$_rockname" "lua52-$_rockname" "lua53-$_rockname")
-_compatrel=0.10
-pkgver=5.3.5.1_$_compatrel
-_rockrel=1
-pkgrel=1
-pkgdesc='Lua 5.2 bit manipulation library'
-arch=(x86_64)
-url='https://github.com/keplerproject/lua-compat-5.3'
-license=(MIT)
-makedepends=(lua
-             lua51
-             lua52
-             lua53
-             luarocks)
-_archive="lua-compat-5.3-$_compatrel"
-_rockspec="$_rockname-${pkgver%_*}-$_rockrel.rockspec"
-source=("$_archive.tar.gz::$url/archive/v$_compatrel.tar.gz"
-        "${url/github/raw.githubusercontent}/1e31f3ddc517b4e521c73f7d6eaecd5e1787daa6/rockspecs/$_rockspec")
-sha256sums=('d1ed32f091856f6fffab06232da79c48b437afd4cd89e5c1fc85d7905b011430'
-            'a1c88310b5d5776c9f4c1ff4a934be497b03237c21d5aaf88422d1582b04af86')
-
-prepare() {
-	# Upstream forgot to commit this before tagging the release
-	cp "$_rockspec" "$_archive/rockspecs"
-}
-
-_package() {
-	cd "$_archive"
-	depends=("${pkgname%-*}")
-	luarocks --lua-version=$1 --tree="$pkgdir/usr/" \
-		make --deps-mode=none --no-manifest "rockspecs/$_rockspec"
-	install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
-}
-
-package_lua-bit32() {
-	_package 5.4
-}
-
-package_lua51-bit32() {
-	_package 5.1
-}
-
-package_lua52-bit32() {
-	_package 5.2
-}
-
-package_lua53-bit32() {
-	_package 5.3
-}

Copied: lua-bit32/repos/community-x86_64/PKGBUILD (from rev 1088090, lua-bit32/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-30 07:46:24 UTC (rev 1088091)
@@ -0,0 +1,55 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Stephen Smith <stephen304 at gmail.com>
+
+pkgbase=lua-bit32
+_rockname=${pkgbase#lua-}
+pkgname=("$pkgbase" "lua51-$_rockname" "lua52-$_rockname" "lua53-$_rockname")
+_compatrel=0.10
+pkgver=5.3.5.1_$_compatrel
+_rockrel=1
+pkgrel=2
+pkgdesc='Lua 5.2 bit manipulation library'
+arch=(x86_64)
+url='https://github.com/keplerproject/lua-compat-5.3'
+license=(MIT)
+makedepends=(lua
+             lua51
+             lua52
+             lua53
+             luarocks)
+_archive="lua-compat-5.3-$_compatrel"
+_rockspec="$_rockname-${pkgver%_*}-$_rockrel.rockspec"
+source=("$_archive.tar.gz::$url/archive/v$_compatrel.tar.gz"
+        "${url/github/raw.githubusercontent}/1e31f3ddc517b4e521c73f7d6eaecd5e1787daa6/rockspecs/$_rockspec")
+sha256sums=('d1ed32f091856f6fffab06232da79c48b437afd4cd89e5c1fc85d7905b011430'
+            'a1c88310b5d5776c9f4c1ff4a934be497b03237c21d5aaf88422d1582b04af86')
+
+prepare() {
+	# Upstream forgot to commit this before tagging the release
+	cp "$_rockspec" "$_archive/rockspecs"
+}
+
+_package() {
+	cd "$_archive"
+	depends=("${pkgname%-*}")
+	luarocks --lua-version=$1 --tree="$pkgdir/usr/" \
+		LIBFLAG="$LDFLAGS -shared" \
+		make --deps-mode=none --no-manifest "rockspecs/$_rockspec"
+	install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+}
+
+package_lua-bit32() {
+	_package 5.4
+}
+
+package_lua51-bit32() {
+	_package 5.1
+}
+
+package_lua52-bit32() {
+	_package 5.2
+}
+
+package_lua53-bit32() {
+	_package 5.3
+}



More information about the arch-commits mailing list