summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathon Fernyhough2022-05-11 16:16:10 +0100
committerJonathon Fernyhough2022-05-11 16:26:06 +0100
commit97cb87add145af2484bb90815f4ebb9d60e3f028 (patch)
treeec59cbb47318ce2d6f5e0fa75c4b652e464cb1a9
parent9e75e613690d94b00c4370d5bf90cda38e11b674 (diff)
downloadaur-97cb87add145af2484bb90815f4ebb9d60e3f028.tar.gz
New upstream for cpr
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8a0dfb23cd44..dd1970e6c12f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = zsync2-git
pkgdesc = A file transfer program that's able to connect to rsync servers
pkgver = 2.0.0pre
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/AppImage/zsync2
arch = x86_64
license = custom:Artistic
@@ -15,7 +15,7 @@ pkgbase = zsync2-git
conflicts = zsync2
source = git+https://github.com/AppImage/zsync2.git
source = git+https://github.com/Taywee/args.git
- source = git+https://github.com/AppImage/cpr.git
+ source = git+https://github.com/libcpr/cpr.git
source = git+https://github.com/google/googletest.git
b2sums = SKIP
b2sums = SKIP
@@ -23,4 +23,3 @@ pkgbase = zsync2-git
b2sums = SKIP
pkgname = zsync2-git
-
diff --git a/PKGBUILD b/PKGBUILD
index 201e6561521f..33b27b9d512e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=zsync2-git
pkgver=2.0.0pre
-pkgrel=1
+pkgrel=2
pkgdesc="A file transfer program that's able to connect to rsync servers"
arch=(x86_64)
url="https://github.com/AppImage/zsync2"
@@ -13,7 +13,7 @@ depends=(curl)
makedepends=(cmake git gnutls openssl zlib)
source=(git+$url.git
git+https://github.com/Taywee/args.git
- git+https://github.com/AppImage/cpr.git
+ git+https://github.com/libcpr/cpr.git
git+https://github.com/google/googletest.git)
b2sums=('SKIP'
'SKIP'
@@ -40,7 +40,7 @@ prepare() {
build() {
cmake -B build ${pkgname/-git/} \
-DUSE_SYSTEM_CURL=1 -DBUILD_CPR_TESTS=0 \
- -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_BUILD_TYPE=None
+ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib
make -C build
}