Commit 15137312 authored by Natanael Copa's avatar Natanael Copa

testing/lua-microlight: upgrade to 1.1.1

parent 7d11a1d0
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-microlight
pkgver=1.1
pkgver=1.1.1
pkgrel=0
pkgdesc="a really compact set of general Lua functions"
url="http://stevedonovan.github.com/microlight/"
......@@ -11,35 +11,9 @@ depends="lua"
makedepends=""
install=""
subpackages=""
source="lua-microlight-$pkgver.tar.gz::https://github.com/stevedonovan/Microlight/archive/$pkgver.tar.gz"
_fmt=tar.gz
source="http://dev.alpinelinux.org/archive/lua-microlight/lua-microlight-$pkgver.$_fmt"
_giturl="git://github.com/stevedonovan/Microlight.git"
_upload=dev.alpinelinux.org:/archive/lua-microlight
_builddir="$srcdir"/lua-microlight-$pkgver
archivetag() {
local _tag=$pkgver
local _pkg=$pkgname-$_tag.$_fmt
mkdir -p "$srcdir"
cd "$srcdir"
rm -rf "$pkgname"
git clone --bare $_giturl || return 1
git --git-dir ${_giturl##*/} archive \
--format $_fmt \
--prefix $pkgname-$pkgver/ \
--output $_pkg \
$_tag \
|| return 1
msg "New snapshot: $_pkg"
if [ -n "$_upload" ]; then
msg "Uploading to $_upload"
scp $_pkg $_upload || return 1
abump $pkgname-$_tag
fi
}
_builddir="$srcdir"/Microlight-$pkgver
prepare() {
local i
......@@ -60,4 +34,6 @@ package() {
install -Dm644 "$_builddir"/ml.lua "$pkgdir"/usr/share/lua/5.1/ml.lua
}
md5sums="73ad743254eebae85c97f76067f5b608 lua-microlight-1.1.tar.gz"
md5sums="cb6eacf4a8a0856548d4d6849fdb96f5 lua-microlight-1.1.1.tar.gz"
sha256sums="c713689c9d477971b494307308c4ea4a877b2994078b7603ba5767c8a4843113 lua-microlight-1.1.1.tar.gz"
sha512sums="debffab0c599754cb70852e82b2cb76af16dcefa7c1c4c54be1a0949d3f24312a72c9e9accd512a2f7d230259b7b7d18bc5919dbaff5458953236f9752582a45 lua-microlight-1.1.1.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment