[arch-commits] Commit in gnurl/repos (2 files)
Maxime Gauduin
alucryd at archlinux.org
Tue Feb 27 21:25:09 UTC 2018
Date: Tuesday, February 27, 2018 @ 21:25:08
Author: alucryd
Revision: 299470
archrelease: copy trunk to community-staging-x86_64
Added:
gnurl/repos/community-staging-x86_64/
gnurl/repos/community-staging-x86_64/PKGBUILD
(from rev 299469, gnurl/trunk/PKGBUILD)
----------+
PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
Copied: gnurl/repos/community-staging-x86_64/PKGBUILD (from rev 299469, gnurl/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-02-27 21:25:08 UTC (rev 299470)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=gnurl
+pkgver=7.58.0
+pkgrel=2
+pkgdesc="fork of libcurl, which is mostly for GNUnet"
+arch=(x86_64)
+url="https://gnunet.org/gnurl"
+license=('MIT')
+depends=('gnutls')
+source=("https://ftp.gnu.org/gnu/gnunet/gnurl-$pkgver.tar.bz2")
+sha512sums=('a4ef211f5715656e0fef99d96d405c66f6e9b73d9b058ca497c29e08f3efef9f0731b0437af45a4451e2b75f6e4fce0980ad1672a10f1a2bd81720b319ca12e7')
+
+build() {
+ cd $pkgname-$pkgver
+ ./buildconf
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --disable-ldap \
+ --disable-ldaps \
+ --enable-ipv6 \
+ --enable-manual \
+ --enable-versioned-symbols \
+ --enable-threaded-resolver \
+ --with-gssapi \
+ --with-gnutls \
+ --without-ssl \
+ --without-libidn \
+ --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