aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-asn1/APKBUILD
blob: 7ce4e81a9d85db31dfac91330cf00a064d217011 (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
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=lua-asn1
pkgver=2.2.0
pkgrel=0
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="55f92d3eb6abf4854da7aaa19ab85d7daeb2aa0179313a6cd818bc347f3059348a813e14165c1e5045eb3ea9e442470202d67d5f6df3c7f00c12e754a36107ea  lua-asn1-2.2.0.tar.gz"