diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-06-06 09:11:45 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-06-06 09:11:45 +0000 |
commit | 15137312236fb3591bfaf37268769ccf92728b35 (patch) | |
tree | 04297977ebee3f40fb3b87b11ad8b890ff5d8118 /testing | |
parent | 7d11a1d0bdfa4e6677ff3e92fb92b6fb5deabd4d (diff) | |
download | aports-15137312236fb3591bfaf37268769ccf92728b35.tar.bz2 aports-15137312236fb3591bfaf37268769ccf92728b35.tar.xz |
testing/lua-microlight: upgrade to 1.1.1
Diffstat (limited to 'testing')
-rw-r--r-- | testing/lua-microlight/APKBUILD | 36 |
1 files changed, 6 insertions, 30 deletions
diff --git a/testing/lua-microlight/APKBUILD b/testing/lua-microlight/APKBUILD index d65fb401eb..9a6df6d320 100644 --- a/testing/lua-microlight/APKBUILD +++ b/testing/lua-microlight/APKBUILD @@ -1,7 +1,7 @@ # 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" |