[arch-commits] Commit in lua-linenoise/repos/community-x86_64 (PKGBUILD PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Thu Dec 30 07:58:34 UTC 2021
Date: Thursday, December 30, 2021 @ 07:58:33
Author: alerque
Revision: 1088097
archrelease: copy trunk to community-x86_64
Added:
lua-linenoise/repos/community-x86_64/PKGBUILD
(from rev 1088096, lua-linenoise/trunk/PKGBUILD)
Deleted:
lua-linenoise/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 92 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 47 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-30 07:57:55 UTC (rev 1088096)
+++ PKGBUILD 2021-12-30 07:58:33 UTC (rev 1088097)
@@ -1,45 +0,0 @@
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: wenLiangcan <boxeed at gmail dot com>
-
-pkgbase=lua-linenoise
-_rockname=${pkgbase#lua-}
-pkgname=("$pkgbase" "lua51-$_rockname" "lua52-$_rockname" "lua53-$_rockname")
-pkgver=0.9
-pkgrel=6
-_rockrel=1
-pkgdesc='A binding for the linenoise command line library'
-arch=(x86_64)
-url="https://github.com/hoelzro/$pkgbase"
-license=(MIT)
-makedepends=(lua
- lua51
- lua52
- lua53
- luarocks)
-_archive="$pkgbase-$pkgver"
-source=("$_archive.tar.gz::$url/archive/$pkgver.tar.gz")
-sha256sums=('cc1cdb4047edd056a10dcdeec853dbaf5088e2202941d579e4592584d733f09c')
-
-_package() {
- cd "$_archive"
- depends=("${pkgname%-*}")
- luarocks --lua-version="$1" --tree="$pkgdir/usr/" \
- make --deps-mode=none --no-manifest "$_rockname-$pkgver-$_rockrel.rockspec"
- install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" COPYING
-}
-
-package_lua-linenoise() {
- _package 5.4
-}
-
-package_lua51-linenoise() {
- _package 5.1
-}
-
-package_lua52-linenoise() {
- _package 5.2
-}
-
-package_lua53-linenoise() {
- _package 5.3
-}
Copied: lua-linenoise/repos/community-x86_64/PKGBUILD (from rev 1088096, lua-linenoise/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-30 07:58:33 UTC (rev 1088097)
@@ -0,0 +1,47 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: wenLiangcan <boxeed at gmail dot com>
+
+pkgbase=lua-linenoise
+_rockname=${pkgbase#lua-}
+pkgname=("$pkgbase" "lua51-$_rockname" "lua52-$_rockname" "lua53-$_rockname")
+pkgver=0.9
+pkgrel=7
+_rockrel=1
+pkgdesc='A binding for the linenoise command line library'
+arch=(x86_64)
+url="https://github.com/hoelzro/$pkgbase"
+license=(MIT)
+makedepends=(lua
+ lua51
+ lua52
+ lua53
+ luarocks)
+_archive="$pkgbase-$pkgver"
+source=("$_archive.tar.gz::$url/archive/$pkgver.tar.gz")
+sha256sums=('cc1cdb4047edd056a10dcdeec853dbaf5088e2202941d579e4592584d733f09c')
+
+_package() {
+ cd "$_archive"
+ depends=("${pkgname%-*}")
+ luarocks --lua-version="$1" --tree="$pkgdir/usr/" \
+ CFLAGS="$CPPFLAGS $CFLAGS -fPIC" \
+ LIBFLAG="$LDFLAGS -shared" \
+ make --deps-mode=none --no-manifest "$_rockname-$pkgver-$_rockrel.rockspec"
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" COPYING
+}
+
+package_lua-linenoise() {
+ _package 5.4
+}
+
+package_lua51-linenoise() {
+ _package 5.1
+}
+
+package_lua52-linenoise() {
+ _package 5.2
+}
+
+package_lua53-linenoise() {
+ _package 5.3
+}
More information about the arch-commits
mailing list