[arch-commits] Commit in gnurl/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue May 5 05:17:30 UTC 2020


    Date: Tuesday, May 5, 2020 @ 05:17:29
  Author: felixonmars
Revision: 624796

archrelease: copy trunk to community-staging-x86_64

Added:
  gnurl/repos/community-staging-x86_64/
  gnurl/repos/community-staging-x86_64/PKGBUILD
    (from rev 624795, gnurl/trunk/PKGBUILD)

----------+
 PKGBUILD |   64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)

Copied: gnurl/repos/community-staging-x86_64/PKGBUILD (from rev 624795, gnurl/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-05-05 05:17:29 UTC (rev 624796)
@@ -0,0 +1,64 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=gnurl
+pkgver=7.69.1
+pkgrel=2
+pkgdesc="fork of libcurl, which is mostly for GNUnet"
+arch=(x86_64)
+url="https://gnunet.org/gnurl"
+license=('MIT')
+depends=('gnutls' 'krb5' 'libnghttp2')
+source=("https://ftp.gnu.org/gnu/gnunet/gnurl-$pkgver.tar.Z"{,.sig})
+validpgpkeys=('A88C8ADD129828D7EAC02E52E22F9BBFEE348588')  # Nils Gillmann
+sha512sums=('17e623ecab2b2ce9fb2d6fa6e125ece114b314def05f6eea51aae565a57426113a3623a9b7f0384bcf97516a6f2cc5ef1d35b5c2a2bb4e2e34b843725be73b7b'
+            'SKIP')
+
+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
+}


More information about the arch-commits mailing list