aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-aports/APKBUILD
blob: aa0cde344dab6dcb8f25bbb030c91d75488f921d (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
45
46
47
48
49
50
51
52
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-aports
pkgver=0.5
pkgrel=4
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
	0001-pkg-support-arch-arch-syntax.patch
	0001-buildrepo-regenerate-index-if-packages-been-deleted.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
5f5ab124bb210fcaac3f5127fdbad4d6  0001-pkg-support-arch-arch-syntax.patch
09fe5b8ccf59aa2c68e00abb4604763b  0001-buildrepo-regenerate-index-if-packages-been-deleted.patch"
sha256sums="fb7ff16a884ed17f6856dc241ec17f0d1586f6d07b83dc5aebc1b320b772d4a9  lua-aports-0.5.tar.xz
738e8967dc247b555299c1f43aab379d27afa9c2d9ccf47d061d6883b5c1babb  0001-buildrepo-fix-bug-when-repodest-is-set-with-buildrep.patch
b4bf7873836d587071accf1dd4452383f373f2c76933c31395f9cd93c793543d  0001-pkg-support-arch-arch-syntax.patch
38c251efed9d9039aa7397c6f1e7a0a70f4b5d7597d1be28d3edfd3199943f18  0001-buildrepo-regenerate-index-if-packages-been-deleted.patch"
sha512sums="7047f0c902c8f65e8a45ed221e793dd0a0c8abf77f85b21b2d23c4f3c19ab12d9862565615718223ff2633465b85026f260bba4d5851a898475974c93f40797d  lua-aports-0.5.tar.xz
74d282482c54671cdac7bb0b484818aa67a875719bd615d24fa69b8ebd9905b5cc685d029e478d7f7c4f351e86b94b6fd4ad207240e82071bcff3b23ff764caf  0001-buildrepo-fix-bug-when-repodest-is-set-with-buildrep.patch
442f4701ea8020dce801bd5ddc08cac2bccff5a70cf12cc3d1602d091ae3dffe3e6905037d04e78da87eb3734401718b3340721d25dac0be5dbb59dbec9dac5a  0001-pkg-support-arch-arch-syntax.patch
165418eea5bfa8ef0c9782b29f43a27e5fd922ce0f54db0d12c7fe92ab174bc134e31a87d835a3fef6935f81a204573246a33a63adaf77580e21cf9d924bffe1  0001-buildrepo-regenerate-index-if-packages-been-deleted.patch"