diff options
author | Alexander F Rødseth | 2015-06-10 15:26:13 +0200 |
---|---|---|
committer | Alexander F Rødseth | 2015-06-10 15:26:13 +0200 |
commit | 96fb8016bca6aa1806748875584038e27ba2d31c (patch) | |
tree | a6cfd1448e8d2bedcfd2b4a8fccf0cb24889e110 | |
download | aur-96fb8016bca6aa1806748875584038e27ba2d31c.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..fac5a5a75a58 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = http2check + pkgdesc = Utility for checking if a given webserver supports HTTP/2 + pkgver = 0.4 + pkgrel = 1 + url = https://github.com/xyproto/http2check/ + arch = x86_64 + arch = i686 + license = MIT + makedepends = go + makedepends = git + source = git://github.com/xyproto/http2check.git#tag=0.4 + md5sums = SKIP + +pkgname = http2check + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0dd1b599d02e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 110816 2014-05-07 16:32:16Z arodseth $ +# Maintainer: Alexander Rødseth <xyproto@archlinux.org> + +pkgname=http2check +pkgver=0.4 +pkgrel=1 +pkgdesc='Utility for checking if a given webserver supports HTTP/2' +arch=('x86_64' 'i686') +url='https://github.com/xyproto/http2check/' +license=('MIT') +makedepends=('go' 'git') +source=("git://github.com/xyproto/http2check.git#tag=$pkgver") +md5sums=('SKIP') + +prepare() { + cd "$pkgname" + + GOPATH="$srcdir" go get -d +} + +build() { + cd "$pkgname" + + GOPATH="$srcdir" go build +} + +package() { + cd "$pkgname" + + install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: |