diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-10-03 11:40:16 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-10-03 11:40:16 +0200 |
commit | 77ef9ecd7add7995c0559bded5b6a6bedcfb2952 (patch) | |
tree | dbc3d76e33e56f482951b54049bd586bc0b18962 /testing | |
parent | f3db287d3ba972a2c38f27abb8a2c2d741f9c375 (diff) | |
download | aports-77ef9ecd7add7995c0559bded5b6a6bedcfb2952.tar.bz2 aports-77ef9ecd7add7995c0559bded5b6a6bedcfb2952.tar.xz |
community/lua-copas: move from testing
Diffstat (limited to 'testing')
-rw-r--r-- | testing/lua-copas/APKBUILD | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/testing/lua-copas/APKBUILD b/testing/lua-copas/APKBUILD deleted file mode 100644 index 06f00b611b..0000000000 --- a/testing/lua-copas/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: Jakub Jirutka <jakub@jirutka.cz> -pkgname=lua-copas -_pkgname=copas -pkgver=2.0.1 -_pkgver=${pkgver//./_} -pkgrel=0 -pkgdesc="Coroutine Oriented Portable Asynchronous Services for Lua" -url="http://keplerproject.github.io/copas/" -arch="noarch" -license="MIT" -depends="" -makedepends="" -subpackages="" -source="$pkgname-$pkgver.tar.gz::https://github.com/keplerproject/$_pkgname/archive/v$_pkgver.tar.gz" -builddir="$srcdir/$_pkgname-$_pkgver" - -_luaversions="5.1 5.2 5.3" -for _v in $_luaversions; do - makedepends="$makedepends lua$_v-dev" - subpackages="$subpackages lua$_v-$_pkgname:_package" -done - -package() { - mkdir -p "$pkgdir" -} - -_package() { - local lver="${subpkgname:3:3}" - pkgdesc="$pkgdesc $lver" - depends="lua$lver lua$lver-socket" - [ "$lver" = 5.1 ] && depends="$depends lua5.1-coxpcall" - install_if="lua$lver $pkgname=$pkgver-r$pkgrel" - - cd "$builddir" - make LUA_DIR="$subpkgdir/usr/share/lua/$lver" install || return 1 -} - -md5sums="4359935d359f8dd2671f72199901f582 lua-copas-2.0.1.tar.gz" -sha256sums="15d8608e5c736dfce6b8c1f5a8ed2f834b227fc4a9a3360edc4b497e12f816fa lua-copas-2.0.1.tar.gz" -sha512sums="3bc472c056beab4c2cf8c1733ca2b1e7fcce9866b89dc738060263456b6fe7521956cf6ca614276f99fdf42d278422dbbb0ef42f11f211c16632f04cb518ecc5 lua-copas-2.0.1.tar.gz" |