aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-aports/APKBUILD
blob: 05848eded129f3f7e5f13bfb085109ec492bb3c1 (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.2
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-update-buildstats-only-when-something-is-a.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="ec2caf078bc59fd90a65ffb3dd31a495  lua-aports-0.2.tar.xz
61213713ddab38a4449095bc0cb86ef5  0001-buildrepo-update-buildstats-only-when-something-is-a.patch"
sha256sums="2a1c6e4cbf1176bb7094312b646c7d1dfe9778aa2478f2251e5a705f1fd55907  lua-aports-0.2.tar.xz
968257f69b8373daa8637ebe09c75069680c4c2fa3658e20d38e0f13aee4c384  0001-buildrepo-update-buildstats-only-when-something-is-a.patch"
sha512sums="f96c341bfb659f8667695fea18e4170c51d41ffad95d7caa18c5284577fa8c97aa587ccff03ab66105a88c0cb9b1597e080d0b2234bc9c122a2d70b76a0de4a7  lua-aports-0.2.tar.xz
bab7e36d18c52631bb62de420fb53243fe7460e0400f491fb19aa94cfdfd10ac5b57fecec4a237861a988722a6290bd3b9c0c978235838871c0ff1e06e5f07a6  0001-buildrepo-update-buildstats-only-when-something-is-a.patch"