aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-asn1/APKBUILD
blob: 23c7a0c5ac16134b93aca93c68b1b2a499621450 (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.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"