aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-aports/APKBUILD
blob: 5ff1c167416114c171fb8676c8c9bcc7394c2c10 (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=3
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
	skip-messages.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
89e92ecf9d35de3fa5dd837aeb3f489c  skip-messages.patch"
sha256sums="2a1c6e4cbf1176bb7094312b646c7d1dfe9778aa2478f2251e5a705f1fd55907  lua-aports-0.2.tar.xz
5825e94ab3d8ef76926e07037d9397c3137d305068ad99afac8c5eb568845e69  skip-messages.patch"
sha512sums="f96c341bfb659f8667695fea18e4170c51d41ffad95d7caa18c5284577fa8c97aa587ccff03ab66105a88c0cb9b1597e080d0b2234bc9c122a2d70b76a0de4a7  lua-aports-0.2.tar.xz
ef5b782f2b68cafb40f42f9a2f943d8e9bc4436ddff04d29d1915f679a0583c624141094f2b6ce42fd867bbfa4a4227ae6945c3f305494738d72debec8d26b4f  skip-messages.patch"