From bcacaabcf3ccf1fef63fce5d1d73615dcea46962 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20F=20R=C3=B8dseth?= Date: Thu, 5 Apr 2018 22:01:23 +0200 Subject: [PATCH] Add algernon Needs testing --- community/algernon/BUILD | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 community/algernon/BUILD diff --git a/community/algernon/BUILD b/community/algernon/BUILD new file mode 100644 index 0000000..355c995 --- /dev/null +++ b/community/algernon/BUILD @@ -0,0 +1,18 @@ +pkgname=algernon +pkgver=1.9 +pkgdesc='Web server with built-in support for QUIC, HTTP/2, Lua, Markdown and Pongo2' +license=(MIT) + +prepare() { + export GOPATH="$srcdir" + go get -d github.com/xyproto/algernon + cd "$srcdir"/src/github.com/xyproto/algernon && git checkout "$pkgver" +} + +build() { + cd "$srcdir"/src/github.com/xyproto/algernon && go build +} + +package() { + install -D "$srcdir"/src/github.com/xyproto/algernon -t "$pkgdir"/bin/ +}