blob: 5443b90df6b7c8a14ceffee008d3ef7ed36aa7b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Maintainer: grufo <madmurphy333 AT gmail DOT com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=gnurl
pkgver=7.72.0
pkgrel=1
pkgdesc="fork of libcurl, which is mostly for GNUnet"
arch=(x86_64)
url="https://gnunet.org/en/gnurl.html"
license=('MIT')
depends=('gnutls' 'krb5' 'libnghttp2' 'zstd')
source=("https://ftp.gnu.org/gnu/gnunet/gnurl-$pkgver.tar.Z") #{,.sig})
#validpgpkeys=('A88C8ADD129828D7EAC02E52E22F9BBFEE348588' # Nils Gillmann
# '6115012DEA3026F62A98A556D6B570842F7E7F8D') # nikita@3dfx.re
sha256sums=('45b4e3cc1f052b2d56d076c276f65358e6f643b217d72b9a35e7a945f8601668')
build() {
cd $pkgname-$pkgver
./buildconf
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--disable-dict \
--disable-file \
--disable-ftp \
--disable-gopher \
--disable-imap \
--disable-ldap \
--disable-ldaps \
--disable-ntlm-wb \
--disable-pop3 \
--disable-rtsp \
--disable-smb \
--disable-smtp \
--disable-telnet \
--disable-tftp \
--enable-ipv6 \
--enable-manual \
--enable-versioned-symbols \
--enable-threaded-resolver \
--without-gssapi \
--with-gnutls \
--without-libidn \
--without-libpsl \
--without-librtmp \
--without-ssl \
--disable-ftp \
--disable-file \
--with-random=/dev/urandom \
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
# rm -rf "$pkgdir"/usr/share/man \
# "$pkgdir"/usr/bin/curl \
# "$pkgdir"/usr/share/aclocal
# mkdir -p "$pkgdir"/usr/include/gnurl
# mv "$pkgdir"/usr/include/curl "$pkgdir"/usr/include/gnurl/curl
# sed -i 's|includedir=.*|includedir=/usr/include/gnurl|g' "$pkgdir"/usr/lib/pkgconfig/libgnurl.pc
}
|