aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-07-22 13:04:09 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-07-22 13:28:45 +0200
commita127ffa2e1bb2b7f2d4dea15e1a6a71c8817f5ef (patch)
treeb0a870d9dde34af3631412df3b23bfd07f294afa
parentf1e1f46791c5dd307f9cd6fcbd87d8238370e9f8 (diff)
downloadaports-a127ffa2e1bb2b7f2d4dea15e1a6a71c8817f5ef.tar.bz2
aports-a127ffa2e1bb2b7f2d4dea15e1a6a71c8817f5ef.tar.xz
community/lua-copas: upgrade to 2.0.2
-rw-r--r--community/lua-copas/APKBUILD13
1 files changed, 5 insertions, 8 deletions
diff --git a/community/lua-copas/APKBUILD b/community/lua-copas/APKBUILD
index 06f00b611b..18106c31cf 100644
--- a/community/lua-copas/APKBUILD
+++ b/community/lua-copas/APKBUILD
@@ -2,14 +2,13 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=lua-copas
_pkgname=copas
-pkgver=2.0.1
+pkgver=2.0.2
_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"
@@ -18,14 +17,14 @@ 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"
+ subpackages="$subpackages lua$_v-$_pkgname:_subpackage"
done
package() {
mkdir -p "$pkgdir"
}
-_package() {
+_subpackage() {
local lver="${subpkgname:3:3}"
pkgdesc="$pkgdesc $lver"
depends="lua$lver lua$lver-socket"
@@ -33,9 +32,7 @@ _package() {
install_if="lua$lver $pkgname=$pkgver-r$pkgrel"
cd "$builddir"
- make LUA_DIR="$subpkgdir/usr/share/lua/$lver" install || return 1
+ make LUA_DIR="$subpkgdir/usr/share/lua/$lver" install
}
-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"
+sha512sums="dd83a513fbddb2f0164c3573b417623f5cc556413c4937be7e362f4c1667bad83391143e1bf609480726730ce488c4080e810f2ce12a98a7abb5293993c10182 lua-copas-2.0.2.tar.gz"