# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=lua-asn1
pkgver=2.1.0
pkgrel=1
pkgdesc="ASN.1 framework for Lua"
url=https://github.com/kunkku/lua-asn1
arch=noarch
license=MIT
depends=lua-stringy
makedepends=
install=
subpackages=
source="$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz
	"

_builddir=$srcdir/$pkgname-$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() {
	:
}

package() {
	cd "$_builddir"
	make install "ROOT_DIR=$pkgdir"
}

sha512sums="28f134b3cbf206ed1960f15bbb8555b37b5bbadc779cc51e9751190575495fa6df6263980f35d4f1e5a5bbf9a944f6ba304ca85fc9d80fef7878b5cfec410e11  lua-asn1-2.1.0.tar.gz"
