diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-03-18 13:22:28 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-03-18 13:22:33 +0000 |
commit | d58736156b903d7251fd439ce06de5bfd36dd9c9 (patch) | |
tree | 4a1cacc3b89e45bd482f1e60f08a4f39754c5a0f /main/lua-inspect | |
parent | cf0c4581efc31c7d36190c1049aed00042f6086b (diff) | |
download | aports-d58736156b903d7251fd439ce06de5bfd36dd9c9.tar.bz2 aports-d58736156b903d7251fd439ce06de5bfd36dd9c9.tar.xz |
testing/lua-inspect: move to main
Diffstat (limited to 'main/lua-inspect')
-rw-r--r-- | main/lua-inspect/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/main/lua-inspect/APKBUILD b/main/lua-inspect/APKBUILD new file mode 100644 index 0000000000..ef914b7607 --- /dev/null +++ b/main/lua-inspect/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=lua-inspect +pkgver=3.0.0 +pkgrel=0 +pkgdesc="Human-readable representation of Lua tables" +url="https://github.com/kikito/inspect.lua" +arch="noarch" +license="MIT" +depends="lua" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/kikito/inspect.lua/archive/v3.0.0.tar.gz" + +_builddir="$srcdir/inspect.lua-$pkgver" +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" +} + +package() { + cd "$_builddir" + install -Dm644 inspect.lua \ + "${pkgdir}/usr/share/lua/5.1/inspect.lua" + install -Dm644 README.md \ + "${pkgdir}/usr/share/doc/${pkgname}/README.md" + install -Dm644 MIT-LICENSE.txt \ + "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +md5sums="30a04fb86cd733c549a051b2821b5ff1 lua-inspect-3.0.0.tar.gz" +sha256sums="77c7be558c6116cdf85ccca0a4193fc6bb7c9a83267a4f308c33027caa0962f8 lua-inspect-3.0.0.tar.gz" +sha512sums="4876d9f49147a1bb06b06f91d1c56ce5250d9ccd6e211194a80a30389b6a8f6d99e7cd48811d8fe9a935845662fda164109af4dd63a0f2a911c330980983ce01 lua-inspect-3.0.0.tar.gz" |