summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsum012020-05-12 00:28:12 -0400
committersum012020-05-12 00:28:12 -0400
commit268f0eff447a56bd0c6a9e07a8e1ee8bcf59f3ce (patch)
tree3e6c491df735653f1f9c30eb0b77e832101b7ce1
parent6128c9085c0f36fec7b4aa8c582516ffb1ccb32b (diff)
downloadaur-268f0eff447a56bd0c6a9e07a8e1ee8bcf59f3ce.tar.gz
Install README to docs
Seems useful to have installed.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a6e43eb5a6e..7f56e3810cc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = cpp-httplib
pkgdesc = A C++ header-only HTTP/HTTPS server and client library
pkgver = 0.5.13
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/yhirose/cpp-httplib
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 80cf1548b47..f1ba58857bf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: sum01 <sum01@protonmail.com>
pkgname=cpp-httplib
pkgver=0.5.13
-pkgrel=1
+pkgrel=2
pkgdesc='A C++ header-only HTTP/HTTPS server and client library'
arch=('any')
url='https://github.com/yhirose/cpp-httplib'
@@ -12,5 +12,6 @@ sha512sums=('beab4c3af01c6ad7ab01e330ffbb3c119dfee9e4a23315ced19637b0105e92503bf
package() {
cd "$srcdir/$pkgname-$pkgver"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 'README.md' "$pkgdir/usr/share/doc/$pkgname/README.md"
install -Dm644 'httplib.h' "$pkgdir/usr/include/httplib.h"
}