summaryrefslogtreecommitdiffstats
path: root/testing/lua-file_slurp/APKBUILD
blob: 7a1afb264229621a5f8e6a8f114bce1e27a67674 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-file_slurp
pkgver=0.001001
pkgrel=0
pkgdesc="Lua module for easily read/write entire files from/to a string"
url="https://gist.github.com/1325400/"
arch="noarch"
license="MIT"
depends=""
depends_dev=""
makedepends="wget"
install=""
subpackages=
source="https://raw.github.com/gist/1325400/c6a64d8ad9605bcfdaa79d4cdadeb86e4c1d77ee/file_slurp.lua"

_luasharedir=/usr/share/lua/5.1
build() {
	return 0
}

package() {
	install -D "$srcdir"/file_slurp.lua \
		"$pkgdir"$_luasharedir/file_slurp.lua
}

md5sums="2e9874a54acf600050c910c1bfa6841b  file_slurp.lua"