# Maintainer: Natanael Copa pkgname=lua-aports pkgver=0.4 pkgrel=1 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-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="61abfaedf5d7599d1322e62029b24a3e lua-aports-0.4.tar.xz a77c2c306a12e0a36e137405aed8b695 0001-buildrepo-fix-bug-when-repodest-is-set-with-buildrep.patch" sha256sums="b29670416a476fd390083b1b013c099c727e1c4e56171cc5f7ab767dcf41aacc lua-aports-0.4.tar.xz c459d311ccf2c573cfb462e4f14a4d2ee68df4abde3047aa0539c396d520c208 0001-buildrepo-fix-bug-when-repodest-is-set-with-buildrep.patch" sha512sums="06571ce33872d846c8a72d31c8b8e86ce1824f3ae39875c4fe7dfcc6f69968ebb53b4ce4cf7349a1a717be2572dcea1b79f06d90d03f9fef88cc06703b830273 lua-aports-0.4.tar.xz 9981f30ad04a9c96290c90aada76c9a42979f61387b193b8b1c5f758961822f8e158c01ac76bf587aad7f34f29f8c0dc7443246db406171967d62fc53db26e8b 0001-buildrepo-fix-bug-when-repodest-is-set-with-buildrep.patch"