aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-aports/APKBUILD
blob: bd871224f4dbc01066ad3772e35d6587a1dea076 (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.5
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-optarg 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-fix-bug-when-repodest-is-set-with-buildrep.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="068ddedda0968d3e000637d2db8da4cd  lua-aports-0.5.tar.xz
d66bc2a08712170da458b46466499c7a  0001-buildrepo-fix-bug-when-repodest-is-set-with-buildrep.patch"
sha256sums="fb7ff16a884ed17f6856dc241ec17f0d1586f6d07b83dc5aebc1b320b772d4a9  lua-aports-0.5.tar.xz
738e8967dc247b555299c1f43aab379d27afa9c2d9ccf47d061d6883b5c1babb  0001-buildrepo-fix-bug-when-repodest-is-set-with-buildrep.patch"
sha512sums="7047f0c902c8f65e8a45ed221e793dd0a0c8abf77f85b21b2d23c4f3c19ab12d9862565615718223ff2633465b85026f260bba4d5851a898475974c93f40797d  lua-aports-0.5.tar.xz
74d282482c54671cdac7bb0b484818aa67a875719bd615d24fa69b8ebd9905b5cc685d029e478d7f7c4f351e86b94b6fd4ad207240e82071bcff3b23ff764caf  0001-buildrepo-fix-bug-when-repodest-is-set-with-buildrep.patch"