[arch-commits] Commit in luasec/repos/community-x86_64 (PKGBUILD PKGBUILD)
Daurnimator
daurnimator at archlinux.org
Sun Jul 5 13:34:55 UTC 2020
Date: Sunday, July 5, 2020 @ 13:34:54
Author: daurnimator
Revision: 657824
archrelease: copy trunk to community-x86_64
Added:
luasec/repos/community-x86_64/PKGBUILD
(from rev 657823, luasec/trunk/PKGBUILD)
Deleted:
luasec/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 136 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 68 insertions(+), 68 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-05 13:27:28 UTC (rev 657823)
+++ PKGBUILD 2020-07-05 13:34:54 UTC (rev 657824)
@@ -1,68 +0,0 @@
-# Maintainer: Daurnimator <daurnimator at archlinux.org>
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Dwayne Bent <dbb.1 at liqd.org>
-# Contributor: Paul-Sebastian Manole <brokenthorn at gmail.com>
-
-pkgbase=luasec
-pkgname=(lua-sec lua51-sec lua52-sec)
-epoch=2
-pkgver=0.9
-pkgrel=1
-pkgdesc='Lua bindings for OpenSSL library to provide TLS/SSL communication.'
-arch=('x86_64')
-url='https://github.com/brunoos/luasec/wiki'
-license=('MIT')
-makedepends=('openssl'
- 'lua'
- 'lua-socket'
- 'lua51'
- 'lua51-socket'
- 'lua52'
- 'lua52-socket')
-depends=('openssl')
-source=("$pkgbase-v$pkgver.tar.gz"::"https://github.com/brunoos/luasec/archive/v$pkgver.tar.gz")
-sha512sums=('ea601016328232ca0ff12be72897eeedac88a78834a63e1c36d2828a3187039665a2c60597b5af1fa6917b6fe87cd292fbcdfabcd67bab968f587e038d52a933')
-
-prepare() {
- cp -a luasec-$pkgver luasec-$pkgver-51
- cp -a luasec-$pkgver luasec-$pkgver-52
-}
-
-build() {
- cd "$srcdir"/luasec-$pkgver-51
- make linux
-
- cd "$srcdir"/luasec-$pkgver-52
- make linux
-
- cd "$srcdir"/luasec-$pkgver
- make linux
-}
-
-package_lua51-sec() {
- depends+=('lua51-socket')
- conflicts=('luasec')
- replaces=('luasec')
-
- cd "luasec-$pkgver-51"
- make LUACPATH="$pkgdir/usr/lib/lua/5.1" LUAPATH="$pkgdir/usr/share/lua/5.1" install
- install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_lua52-sec() {
- depends+=('lua52-socket')
-
- cd "luasec-$pkgver-52"
- make LUACPATH="$pkgdir/usr/lib/lua/5.2" LUAPATH="$pkgdir/usr/share/lua/5.2" install
- install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_lua-sec() {
- depends+=('lua-socket')
-
- cd "luasec-$pkgver"
- make LUACPATH="$pkgdir/usr/lib/lua/5.3" LUAPATH="$pkgdir/usr/share/lua/5.3" install
- install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: luasec/repos/community-x86_64/PKGBUILD (from rev 657823, luasec/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-05 13:34:54 UTC (rev 657824)
@@ -0,0 +1,68 @@
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Dwayne Bent <dbb.1 at liqd.org>
+# Contributor: Paul-Sebastian Manole <brokenthorn at gmail.com>
+
+pkgbase=luasec
+pkgname=(lua-sec lua51-sec lua52-sec)
+epoch=2
+pkgver=0.9
+pkgrel=1
+pkgdesc='Lua bindings for OpenSSL library to provide TLS/SSL communication.'
+arch=('x86_64')
+url='https://github.com/brunoos/luasec/wiki'
+license=('MIT')
+makedepends=('openssl'
+ 'lua'
+ 'lua-socket'
+ 'lua51'
+ 'lua51-socket'
+ 'lua52'
+ 'lua52-socket')
+depends=('openssl')
+source=("$pkgbase-v$pkgver.tar.gz"::"https://github.com/brunoos/luasec/archive/v$pkgver.tar.gz")
+sha512sums=('ea601016328232ca0ff12be72897eeedac88a78834a63e1c36d2828a3187039665a2c60597b5af1fa6917b6fe87cd292fbcdfabcd67bab968f587e038d52a933')
+
+prepare() {
+ cp -a luasec-$pkgver luasec-$pkgver-51
+ cp -a luasec-$pkgver luasec-$pkgver-52
+}
+
+build() {
+ cd "$srcdir"/luasec-$pkgver-51
+ make linux INC_PATH=-I/usr/include/lua5.1
+
+ cd "$srcdir"/luasec-$pkgver-52
+ make linux INC_PATH=-I/usr/include/lua5.2
+
+ cd "$srcdir"/luasec-$pkgver
+ make linux
+}
+
+package_lua51-sec() {
+ depends+=('lua51-socket')
+ conflicts=('luasec')
+ replaces=('luasec')
+
+ cd "luasec-$pkgver-51"
+ make LUACPATH="$pkgdir/usr/lib/lua/5.1" LUAPATH="$pkgdir/usr/share/lua/5.1" install
+ install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua52-sec() {
+ depends+=('lua52-socket')
+
+ cd "luasec-$pkgver-52"
+ make LUACPATH="$pkgdir/usr/lib/lua/5.2" LUAPATH="$pkgdir/usr/share/lua/5.2" install
+ install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua-sec() {
+ depends+=('lua-socket')
+
+ cd "luasec-$pkgver"
+ make LUACPATH="$pkgdir/usr/lib/lua/5.3" LUAPATH="$pkgdir/usr/share/lua/5.3" install
+ install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list