aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-aports/APKBUILD
blob: bfcb93fec92f7b0187937a3a7a3b4fae47bcd4e1 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-aports
pkgver=0.3
pkgrel=1
pkgdesc="Lua modules for parsing aports tree"
url="http://dev.alpinelinux.org/archive/lua-aports/"
arch="noarch"
license="MIT"
depends="lua5.2-filesystem lua5.2"
depends_dev=""
makedepends="$depends_dev"
install=""
replaces="abuild"
subpackages=""
source="http://dev.alpinelinux.org/archive/lua-aports/lua-aports-$pkgver.tar.xz
	0001-buildrepo-make-sure-we-flush-stdout-on-info-output.patch
	"

_builddir="$srcdir"/lua-aports-$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() {
	return 0
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="d03218ceb198a339363e452dd6c3102b  lua-aports-0.3.tar.xz
a08c4b5af2bacf5eb03550cd8c6b2a2c  0001-buildrepo-make-sure-we-flush-stdout-on-info-output.patch"
sha256sums="f8e4ce1a60a61b9a6515ce36ceb56830da1bc0f0dd7300346bda357d9bb55fcd  lua-aports-0.3.tar.xz
5133f3080cfe642fe75d6d3e13bd28896a843094b112969067108f15446cf31f  0001-buildrepo-make-sure-we-flush-stdout-on-info-output.patch"
sha512sums="e82bb3191958a123bcf16c17b2338cd0370d60b970ab15ac9f645972cf2b409618fd1c5b927ba854fb82468ab74d21dfd3cc1e363b513aa220905c4f89417a8b  lua-aports-0.3.tar.xz
3e53f03d8bffab3fb7818e166bc9fbf31e078c4b20f895cdbbec21145182231660d376b257b74e6db1379e42f5b4edf8bef77dba5adbc596a7cf85663ce4bbe1  0001-buildrepo-make-sure-we-flush-stdout-on-info-output.patch"