1. Add the following GPG key: D9C4D26D0E604491 (using `gpg --recv-keys`)
2. pacaur -S libopenssl-1.0-compat
3. cd .cache/pacaur or whatever
4. git clone
https://aur.archlinux.org/libcurl-openssl-1.0.git
5. Change the PKGBUILD to:
---------------------------------------------------------------------------------
# Maintainer: Michael Straube straubem@gmx.de
# Contributor: Maxime Gauduin alucryd@archlinux.org
# Contributor: Piotr Balcerowski piotr@balcerowski.org
pkgname=libcurl-openssl-1.0
pkgver=7.53.1
pkgrel=1
pkgdesc='An URL retrieval library (build against openssl-1.0)'
arch=('i686' 'x86_64')
url='https://curl.haxx.se'
license=('MIT')
depends=('curl' 'glibc' 'krb5' 'openssl' 'libpsl' 'zlib' 'libssh2.so')
options=('strip')
source=("https://curl.haxx.se/download/curl-${pkgver}.tar.gz"{,.asc})
validpgpkeys=('27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2') # Daniel Stenberg
sha256sums=('64f9b7ec82372edb8eaeded0a9cfa62334d8f98abc65487da01188259392911d'
'SKIP')
build() {
cd curl-${pkgver}
export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig
./configure \
--prefix='/usr' \
--disable-ldap \
--disable-ldaps \
--disable-manual \
--enable-ipv6 \
--enable-threaded-resolver \
--with-gssapi \
--with-random='/dev/urandom' \
--with-ca-bundle='/etc/ssl/certs/ca-certificates.crt'
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make -C lib
}
package() {
cd curl-${pkgver}
make -C lib DESTDIR="${pkgdir}" install
mv "${pkgdir}"/usr/lib/libcurl{,-openssl-1.0}.so.4.4.0
rm "${pkgdir}"/usr/lib/libcurl.{a,so}*
ln -s libcurl-openssl-1.0.so.4.4.0 "${pkgdir}"/usr/lib/libcurl-openssl-1.0.so
install -dm 755 "${pkgdir}"/usr/share/licenses
ln -s curl "${pkgdir}"/usr/share/licenses/${pkgname}
}
---------------------------------------------------------------------------------
5. Add the following GPG key: 5CC908FDB71E12C2 (using `gpg --recv-keys`)
6. Run `makepkg -si`