aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-aports/APKBUILD
blob: 14d001af4f9e531f55f3bf89c9ae56123f495855 (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.4
pkgrel=2
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-add-support-for-plugins.d.patch
	0002-buildrepo-refactor.patch
	update-index.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="61abfaedf5d7599d1322e62029b24a3e  lua-aports-0.4.tar.xz
400c3f87e3bfc0cece732ccc7273ab15  0001-buildrepo-add-support-for-plugins.d.patch
45f3610919c1bddea841d4c91bccb3de  0002-buildrepo-refactor.patch
c5994a11f98774a5d804f6710474104e  update-index.patch"
sha256sums="b29670416a476fd390083b1b013c099c727e1c4e56171cc5f7ab767dcf41aacc  lua-aports-0.4.tar.xz
fbee2b352b8a353b4f904a26cc311cc60f79eaa6b1202566a6c311e4c2bb4144  0001-buildrepo-add-support-for-plugins.d.patch
99f971b242b283beea788d3d31d48b5143c1e134ae448c2bf7303b595159c6cf  0002-buildrepo-refactor.patch
c4f7701cdccff92775f5561397a521abf627d245f511abdfbf7f144111f33f3e  update-index.patch"
sha512sums="06571ce33872d846c8a72d31c8b8e86ce1824f3ae39875c4fe7dfcc6f69968ebb53b4ce4cf7349a1a717be2572dcea1b79f06d90d03f9fef88cc06703b830273  lua-aports-0.4.tar.xz
0d1bb484c6281b61e1e5b8862b7f73f1f2da9d4bc77260309f8bbd6a9ffd8c733424d42c194593a7434209277284dcf0bf8bea07d6b083df371b462e131cd3c9  0001-buildrepo-add-support-for-plugins.d.patch
0af8a5ed6b57b8d72c4ec3715c02d3d47dc9bf7a88da665b15e2f7cabbe81e8d3b871acea28e85a962c1b2872e921efadb72674f71ef7a8a0ba7d9e5834bb11e  0002-buildrepo-refactor.patch
f8e9c0e50853bf144ac345bab8fdf12ea669162b8555202d3ca63ad6520bb5360bb40f74f65ea3750abec49290d4e54f125bc88df057a99aef749c5cdd32bc79  update-index.patch"