Commit b6190b85 authored by Leonardo Arena's avatar Leonardo Arena

testing/go-pkac: new aport

SPKAC/PKAC HTML keygen element data decoding for Go
parent e42557c1
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:
pkgname=go-pkac
_realname=pkac
_vendor="longsleep"
pkgver=0.0.1
pkgrel=0
pkgdesc="SPKAC/PKAC HTML keygen element data decoding for Go"
url="https://github.com/$_vendor/$_realname"
arch="noarch"
license="Custom"
depends=
depends_dev=
makedepends="$depends_dev"
install=
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/$_vendor/$_realname/archive/$pkgver.tar.gz"
builddir="$srcdir"/$_realname-$pkgver
prepare() {
cd "$builddir"
}
build() {
cd "$builddir"
}
package() {
cd "$builddir"
mkdir -p "$pkgdir"/usr/share/doc/$_vendor/$pkgname \
"$pkgdir"/usr/lib/go/src/github.com/$_vendor/$_realname
for file in \
LICENSE \
README.md \
COPYRIGHT \
AUTHORS \
; do \
test -e $file && mv $file "$pkgdir"/usr/share/doc/$_vendor/$pkgname
done
mv * "$pkgdir"/usr/lib/go/src/github.com/$_vendor/$_realname || return 1
}
md5sums="a8741ff729d9ca437c3993e1241a5f3a go-pkac-0.0.1.tar.gz"
sha256sums="bf811903e873cf8837ef9e3ea1fe291627d40067035cad1f1ecc159d1f102782 go-pkac-0.0.1.tar.gz"
sha512sums="e3b6e754f7666b08c9903225241f01f3f644942eca078f52a7989ba4b96b27ccfc620aef8c17e59c74cd234dd9b3fcf840ce0ef81a3aacfaf581153b0ecbd743 go-pkac-0.0.1.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment