summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsum012020-05-09 23:57:24 -0400
committersum012020-05-09 23:57:24 -0400
commit688f0b46e4322174cfe05c8a976386f9fe08f3bd (patch)
tree185d0259a229aa8402db80c3402f602c0a12c3db
downloadaur-688f0b46e4322174cfe05c8a976386f9fe08f3bd.tar.gz
Initial commit v0.5.12
-rw-r--r--.SRCINFO14
-rw-r--r--.gitignore6
-rw-r--r--PKGBUILD16
3 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..32373f3b6fc
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = cpp-httplib
+ pkgdesc = A C++ header-only HTTP/HTTPS server and client library
+ pkgver = 0.5.12
+ pkgrel = 1
+ url = https://github.com/yhirose/cpp-httplib
+ arch = any
+ license = MIT
+ optdepends = openssl: https support
+ optdepends = zlib: compression support
+ source = cpp-httplib-0.5.12.tar.gz::https://github.com/yhirose/cpp-httplib/archive/v0.5.12.tar.gz
+ sha512sums = 62dc378e87981dd8ed8aef6cde12da190d714d1234379b073a4df189ff589604800c9add619f6adc98a3bc7856c01b390cd336723007a78e29d2df681680fceb
+
+pkgname = cpp-httplib
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..7bcaceb48c6
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+*
+!.gitignore
+!.SRCINFO
+!PKGBUILD
+!*.desktop
+!*.patch
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b0d98a94f17
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,16 @@
+# Maintainer: sum01 <sum01@protonmail.com>
+pkgname=cpp-httplib
+pkgver=0.5.12
+pkgrel=1
+pkgdesc='A C++ header-only HTTP/HTTPS server and client library'
+arch=('any')
+url='https://github.com/yhirose/cpp-httplib'
+license=('MIT')
+optdepends=('openssl: https support' 'zlib: compression support')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/yhirose/cpp-httplib/archive/v$pkgver.tar.gz")
+sha512sums=('62dc378e87981dd8ed8aef6cde12da190d714d1234379b073a4df189ff589604800c9add619f6adc98a3bc7856c01b390cd336723007a78e29d2df681680fceb')
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 'httplib.h' "$pkgdir/usr/include/httplib.h"
+}