X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 26BEEDC57A1 for ; Fri, 26 Feb 2016 09:17:03 +0000 (UTC) Received: from mail-qk0-f173.google.com (mail-qk0-f173.google.com [209.85.220.173]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 3DA12DC0288 for ; Fri, 26 Feb 2016 09:17:01 +0000 (UTC) Received: by mail-qk0-f173.google.com with SMTP id x1so29603200qkc.1 for ; Fri, 26 Feb 2016 01:17:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=MmyZWa1zTd7VGHNU660Yr5QBnomFj7F0f/3+GRD7qik=; b=Yj+XFEjmCdR5wSeN2JQJtRIszjb9sCMgN2hMC+kVfgugwVcN/3hzKPk/HH2pR/THug YScqh7YxJShlo4pYV7pJKsmfcqXr80z+6K9M3+JWmoBLSTi8MfdzkYzJrL1agIDWkLXm xS8PXTJrIoshCW429PCHetmeAfPTGWFA+tevHA05dhTLiY4swvwRRjPiulZAmcwje9gf INyFOZNF5ObiaWfztiduHJRhbzQqPxVPGr7yzv3b/EDoaLcqx1Frgky1JTN0p5rCXNbN IM/95aogdYxWCHPZkfOtV082OA+PjJaAMeZg56r8Yy09f+68INrik9s/ZPMYa8udD9He +iqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=MmyZWa1zTd7VGHNU660Yr5QBnomFj7F0f/3+GRD7qik=; b=jA2vQwCgL5QQKB9AJblLHj7EXiZd7kWLH3Bol873ZkbaKPct76hwWEODaFNdyZ6GXC uczxrsN8v2wqoc6iThscw05Hz8fT64SSHUVEVQDJ6TVBC1aG4U0K3yGiLcdZVNoCwTT/ 1xGDRw9IVM2qEYNRuvX1SnwMW6VWVWthm2FxoWw1vScltgo5s+8y5BL+j6R/YSdMMoJ8 Lk4rpjL7mO/SFnHAidkaeJFh+qblhfrdPDBl9Y/qbEZcZcB+Vzx3mN9uxlr0k167hsUS zaof+XteiA4Pu5eXYSRlLXGP6b//0VqQ5FwEl0dFzxCOHUOaOKO+5ayoY1IZ9yV6qUaT v0Qw== X-Gm-Message-State: AD7BkJJgIBv2HlwyZ2Y8th2N+Zx/XMRXQttbUMgj+n3VXNivZcGfFrpD8EMSv6aJvoroqQ== X-Received: by 10.55.17.164 with SMTP id 36mr543035qkr.54.1456478219671; Fri, 26 Feb 2016 01:16:59 -0800 (PST) Received: from mirarg170a.williams.edu ([137.165.162.5]) by smtp.gmail.com with ESMTPSA id a102sm4959090qgf.21.2016.02.26.01.16.58 (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 26 Feb 2016 01:16:59 -0800 (PST) From: Muh Muhten To: alpine-aports@lists.alpinelinux.org Cc: Muh Muhten Subject: [alpine-aports] [PATCH] testing/lua-fun: new aport Date: Fri, 26 Feb 2016 04:16:41 -0500 Message-Id: <1456478201-4675-1-git-send-email-muh.muhten@gmail.com> X-Mailer: git-send-email 2.5.4 (Apple Git-61) X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: http://rtsisyk.github.io/luafun/ "Lua Fun is a high-performance functional programming library for Lua designed with LuaJIT's trace compiler in mind." --- testing/lua-fun/APKBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 testing/lua-fun/APKBUILD diff --git a/testing/lua-fun/APKBUILD b/testing/lua-fun/APKBUILD new file mode 100644 index 0000000..1db3a7a --- /dev/null +++ b/testing/lua-fun/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Michael Zuo +# Maintainer: Michael Zuo +pkgname=lua-fun +pkgver=0.1.3 +_luaversions="5.1 5.2 5.3" +pkgrel=0 +pkgdesc="Functional programming library" +# "Lua Fun is a high-performance functional programming library for Lua +# designed with LuaJIT's trace compiler in mind." +url="http://rtsisyk.github.io/luafun/" +arch="noarch" +license="MIT" +depends="" +depends_dev="" +makedepends="" +source="$pkgname-$pkgver.tar.gz::https://github.com/rtsisyk/luafun/archive/$pkgver.tar.gz" + +for _v in $_luaversions; do + subpackages="$subpackages lua$_v-${pkgname#*lua-}:split_${_v/./_}" + eval "split_${_v/./_}() { _split $_v; }" +done + +_builddir="$srcdir/luafun-$pkgver" +build() { + : +} + +package() { + mkdir -p "$pkgdir" +} + +_split() { + install_if="lua$1 $pkgname=$pkgver-r$pkgrel" + pkgdesc="$pkgdesc for Lua $1" + + cd "$_builddir" + install -Dm644 fun.lua "$subpkgdir/usr/share/lua/$1/fun.lua" || return 1 +} + +md5sums="ab774af3d0dea06656039e5fc3ee86ad lua-fun-0.1.3.tar.gz" +sha256sums="b17a139e94a150595ffce09e800035f71fe9e0631b54b6fbf193dfe57255e4b7 lua-fun-0.1.3.tar.gz" +sha512sums="1959c22453a6f431e4f4ee1ca1e6001c126f8857e00b128e5303049fd574150a68b71490503356f11fefcbd0ef7fbac7b0ae7c182a395ad0c92d2047dfac0662 lua-fun-0.1.3.tar.gz" -- 2.5.4 (Apple Git-61) --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---