[arch-commits] Commit in (4 files)
Daurnimator
daurnimator at archlinux.org
Mon Nov 30 13:29:56 UTC 2020
Date: Monday, November 30, 2020 @ 13:29:56
Author: daurnimator
Revision: 766561
Move lua-fifo from community
Added:
lua-fifo/
lua-fifo/repos/
lua-fifo/trunk/
lua-fifo/trunk/PKGBUILD
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Added: lua-fifo/trunk/PKGBUILD
===================================================================
--- lua-fifo/trunk/PKGBUILD (rev 0)
+++ lua-fifo/trunk/PKGBUILD 2020-11-30 13:29:56 UTC (rev 766561)
@@ -0,0 +1,42 @@
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+
+pkgname=('lua-fifo' 'lua51-fifo' 'lua52-fifo' 'lua53-fifo')
+pkgver=0.2
+pkgrel=1
+arch=('any')
+url='https://github.com/daurnimator/fifo.lua'
+license=('MIT')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/daurnimator/fifo.lua/archive/$pkgver.tar.gz")
+sha256sums=('85cad0c2f9eac1cd3e08c5134feb655e0b928e1e22363c3ef3293a194c0eb53f')
+
+package_lua-fifo() {
+ pkgdesc='Fifo library for Lua 5.4'
+
+ cd "fifo.lua-$pkgver"
+ install -Dm644 fifo.lua "$pkgdir/usr/share/lua/5.4/fifo.lua"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua51-fifo() {
+ pkgdesc='Fifo library for Lua 5.1'
+
+ cd "fifo.lua-$pkgver"
+ install -Dm644 fifo.lua "$pkgdir/usr/share/lua/5.1/fifo.lua"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua52-fifo() {
+ pkgdesc='Fifo library for Lua 5.2'
+
+ cd "fifo.lua-$pkgver"
+ install -Dm644 fifo.lua "$pkgdir/usr/share/lua/5.2/fifo.lua"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua53-fifo() {
+ pkgdesc='Fifo library for Lua 5.3'
+
+ cd "fifo.lua-$pkgver"
+ install -Dm644 fifo.lua "$pkgdir/usr/share/lua/5.3/fifo.lua"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list