diff options
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..32ef91e68fa1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = httpdiff + pkgdesc = Perform the same request against two HTTP servers and diff the results + pkgver = 1.0.0 + pkgrel = 1 + url = https://github.com/jgrahamc/httpdiff + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = git + makedepends = go + source = httpdiff::git+https://github.com/jgrahamc/httpdiff.git#tag=v1.0.0 + sha256sums = SKIP + +pkgname = httpdiff + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..af27018e8be5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer chron <chron at posteo dot de> +pkgname=httpdiff +pkgver=1.0.0 +pkgrel=1 +pkgdesc="Perform the same request against two HTTP servers and diff the results" +arch=("i686" "x86_64") +url="https://github.com/jgrahamc/httpdiff" +license=("GPL2") +makedepends=("git" "go") +source=("httpdiff::git+https://github.com/jgrahamc/httpdiff.git#tag=v1.0.0") + +sha256sums=("SKIP") + +build() { + cd ${srcdir}/${_pkgname} + make all +} + +package() { + cd ${srcdir}/${_pkgname} + install -Dm 755 "${srcdir}/${_pkgname}/httpdiff" "${pkgdir}/usr/bin/httpdiff" + install -Dm 644 "${srcdir}/${_pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" +} |