# Maintainer: Natanael Copa pkgname=lua-aports pkgver=0.5 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-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 a77c2c306a12e0a36e137405aed8b695 0001-buildrepo-fix-bug-when-repodest-is-set-with-buildrep.patch" sha256sums="fb7ff16a884ed17f6856dc241ec17f0d1586f6d07b83dc5aebc1b320b772d4a9 lua-aports-0.5.tar.xz c459d311ccf2c573cfb462e4f14a4d2ee68df4abde3047aa0539c396d520c208 0001-buildrepo-fix-bug-when-repodest-is-set-with-buildrep.patch" sha512sums="7047f0c902c8f65e8a45ed221e793dd0a0c8abf77f85b21b2d23c4f3c19ab12d9862565615718223ff2633465b85026f260bba4d5851a898475974c93f40797d lua-aports-0.5.tar.xz 9981f30ad04a9c96290c90aada76c9a42979f61387b193b8b1c5f758961822f8e158c01ac76bf587aad7f34f29f8c0dc7443246db406171967d62fc53db26e8b 0001-buildrepo-fix-bug-when-repodest-is-set-with-buildrep.patch"