From e74c3b042eccd4dd181a7425809c12b8c8ab217d Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Tue, 13 Sep 2016 16:56:09 +0200 Subject: testing/lua-gversion: move to main --- main/lua-gversion/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ testing/lua-gversion/APKBUILD | 39 --------------------------------------- 2 files changed, 39 insertions(+), 39 deletions(-) create mode 100644 main/lua-gversion/APKBUILD delete mode 100644 testing/lua-gversion/APKBUILD diff --git a/main/lua-gversion/APKBUILD b/main/lua-gversion/APKBUILD new file mode 100644 index 0000000000..58acc89655 --- /dev/null +++ b/main/lua-gversion/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Jakub Jirutka +# Maintainer: Jakub Jirutka +pkgname=lua-gversion +_pkgname=gversion.lua +pkgver=0.1.0 +pkgrel=0 +pkgdesc="Lua library for Gentoo-style versioning format" +url="https://github.com/jirutka/gversion.lua" +arch="noarch" +license="MIT" +depends="" +makedepends="" +subpackages="" +source="$pkgname-$pkgver.tar.gz::https://github.com/jirutka/$_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 (for lua-$lver)" + depends="lua$lver" + install_if="$pkgname=$pkgver-r$pkgrel lua$lver" + + install -m 644 -D "$builddir"/src/gversion.lua \ + "$subpkgdir"/usr/share/lua/$lver/gversion.lua +} + +md5sums="50cbf9026ed55528d849458c7a5f1061 lua-gversion-0.1.0.tar.gz" +sha256sums="ff93691c899384ec4db3eb2cace3ed690057e49517a66723abfc6cc2a3ecb81d lua-gversion-0.1.0.tar.gz" +sha512sums="f03a4da00b93eab7bf040b4ad1b6a33fbebc186724db60d213823cf62632879186728a2615b7ff4206efe87c832a080de471ddf3e93b26e7f55e4980f4a47b4e lua-gversion-0.1.0.tar.gz" diff --git a/testing/lua-gversion/APKBUILD b/testing/lua-gversion/APKBUILD deleted file mode 100644 index 58acc89655..0000000000 --- a/testing/lua-gversion/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Jakub Jirutka -# Maintainer: Jakub Jirutka -pkgname=lua-gversion -_pkgname=gversion.lua -pkgver=0.1.0 -pkgrel=0 -pkgdesc="Lua library for Gentoo-style versioning format" -url="https://github.com/jirutka/gversion.lua" -arch="noarch" -license="MIT" -depends="" -makedepends="" -subpackages="" -source="$pkgname-$pkgver.tar.gz::https://github.com/jirutka/$_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 (for lua-$lver)" - depends="lua$lver" - install_if="$pkgname=$pkgver-r$pkgrel lua$lver" - - install -m 644 -D "$builddir"/src/gversion.lua \ - "$subpkgdir"/usr/share/lua/$lver/gversion.lua -} - -md5sums="50cbf9026ed55528d849458c7a5f1061 lua-gversion-0.1.0.tar.gz" -sha256sums="ff93691c899384ec4db3eb2cace3ed690057e49517a66723abfc6cc2a3ecb81d lua-gversion-0.1.0.tar.gz" -sha512sums="f03a4da00b93eab7bf040b4ad1b6a33fbebc186724db60d213823cf62632879186728a2615b7ff4206efe87c832a080de471ddf3e93b26e7f55e4980f4a47b4e lua-gversion-0.1.0.tar.gz" -- cgit v1.2.3