diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-11-07 00:08:04 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-11-07 00:08:04 +0100 |
commit | 45a6e1ec25dd533f74b106d67024f7990a014c14 (patch) | |
tree | c49990b557ea4c1987e1df79c892e29baabe0c9b | |
parent | Initial commit. (diff) | |
download | man-http-45a6e1ec25dd533f74b106d67024f7990a014c14.tar.gz man-http-45a6e1ec25dd533f74b106d67024f7990a014c14.tar.xz |
Initial draft.
-rw-r--r-- | PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..f6e3cee --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Hugo Hörnquist <hugo@lysator.liu.se> + +pkgname=man-http +pkgver=1.0.0 +pkgrel=1 +pkgdesc='' +arch=(any) +license=() +makedepends=('python' 'curl') +checkdepends=('flake8' 'mypy') +url="https://git.hornquist.se/${pkgname}" +source=( + "git+${url}.git" + 'https://www.iana.org/assignments/http-status-codes/http-status-codes-1.csv' + 'https://www.iana.org/assignments/http-fields/field-names.csv' + 'https://html.spec.whatwg.org/entities.json' + ) + +md5sums=('SKIP' + 'a3bc698d30d9d3a0685345f5046aca88' + '5b1e573c2102d85c11cf9400b5a13942' + '67c2dfb765685d7864445363c48a8118') +options=(!strip) + +build(){ + cd "$srcdir/$pkgname-$pkgver" + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + make check +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + install -m644 -t $(DESTDIR)/usr/share/man/man7 http.7 html.7 +} |