diff options
author | Dario Ostuni | 2016-12-08 02:51:48 +0100 |
---|---|---|
committer | Dario Ostuni | 2016-12-08 02:51:48 +0100 |
commit | 18a2eef7d50226711fa1be2cd6d57084114ece36 (patch) | |
tree | 99d1105edd236d3ffba14ad4ab4c1151e0d3b718 | |
download | aur-18a2eef7d50226711fa1be2cd6d57084114ece36.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..81762c13c494 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by mksrcinfo v8 +# Thu Dec 8 01:51:18 UTC 2016 +pkgbase = restclient-cpp + pkgdesc = A simple REST client for C++ + pkgver = 0.4.4 + pkgrel = 1 + url = https://github.com/mrtazz/restclient-cpp + arch = i686 + arch = x86_64 + arch = armv7h + arch = aarch64 + license = MIT + depends = curl + source = https://github.com/mrtazz/restclient-cpp/archive/0.4.4.tar.gz + sha256sums = f89355d4a635d35e19082078a86c18af8e05e033361d474b20d7b8589257d05d + +pkgname = restclient-cpp + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..eb1f00e5289f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Dario Ostuni <another.code.996@gmail.com> +pkgname=restclient-cpp +pkgver=0.4.4 +pkgrel=1 +pkgdesc="A simple REST client for C++" +arch=('i686' 'x86_64' 'armv7h' 'aarch64') +url="https://github.com/mrtazz/restclient-cpp" +license=('MIT') +depends=('curl') +options=() +source=("https://github.com/mrtazz/$pkgname/archive/$pkgver.tar.gz") +sha256sums=('f89355d4a635d35e19082078a86c18af8e05e033361d474b20d7b8589257d05d') + +build() { + cd "$pkgname-$pkgver" + ./autogen.sh + ./configure --prefix=/usr + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} |