Date: Tuesday, August 13, 2019 @ 10:47:08 Author: daurnimator Revision: 499061
archrelease: copy trunk to community-x86_64 Added: lua-cqueues/repos/community-x86_64/ lua-cqueues/repos/community-x86_64/PKGBUILD (from rev 499060, lua-cqueues/trunk/PKGBUILD) ----------+ PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) Copied: lua-cqueues/repos/community-x86_64/PKGBUILD (from rev 499060, lua-cqueues/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2019-08-13 10:47:08 UTC (rev 499061) @@ -0,0 +1,41 @@ +# Maintainer: Daurnimator <daurnima...@archlinux.org> + +pkgname=('lua-cqueues' 'lua51-cqueues' 'lua52-cqueues') +pkgver=20190813 +pkgrel=1 +arch=('x86_64') +url='http://25thandclement.com/~william/projects/cqueues.html' +license=('MIT') +makedepends=('lua' 'lua51' 'lua52') +depends=('openssl') +source=("$pkgname-$pkgver.tar.gz::https://github.com/wahern/cqueues/archive/rel-$pkgver.tar.gz") +md5sums=('24b6f642514dabc9fb7996d2595060fa') + +build() { + cd "cqueues-rel-$pkgver" + make prefix=/usr +} + +package_lua-cqueues() { + pkgdesc='Continuation Queues: Embeddable asynchronous networking, threading, and notification framework for Lua 5.3' + + cd "cqueues-rel-$pkgver" + make DESTDIR="$pkgdir" prefix=/usr install5.3 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +package_lua51-cqueues() { + pkgdesc='Continuation Queues: Embeddable asynchronous networking, threading, and notification framework for Lua 5.1' + + cd "cqueues-rel-$pkgver" + make DESTDIR="$pkgdir" prefix=/usr install5.1 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +package_lua52-cqueues() { + pkgdesc='Continuation Queues: Embeddable asynchronous networking, threading, and notification framework for Lua 5.2' + + cd "cqueues-rel-$pkgver" + make DESTDIR="$pkgdir" prefix=/usr install5.2 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}