summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD67
2 files changed, 47 insertions, 40 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cf24e5f97e02..a8761626e2d9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,21 @@
-# Generated by mksrcinfo v8
-# Sat Apr 7 12:24:48 UTC 2018
pkgbase = lib32-neon
pkgdesc = HTTP and WebDAV client library with a C interface (32 bit)
- pkgver = 0.30.2
- pkgrel = 4
- url = https://web.archive.org/web/20170928175008/http://www.webdav.org/neon/
+ pkgver = 0.32.5
+ pkgrel = 1
+ url = https://notroj.github.io/neon
arch = x86_64
license = GPL
license = LGPL
+ makedepends = xmlto
+ makedepends = docbook-xsl
depends = lib32-krb5
depends = lib32-expat
- depends = neon
+ depends = lib32-zlib
depends = ca-certificates
- depends = zlib
+ depends = neon
options = libtool
- source = https://fossies.org/linux/www/neon-0.30.2.tar.gz
- md5sums = e28d77bf14032d7f5046b3930704ef41
+ source = https://notroj.github.io/neon/neon-0.32.5.tar.gz
+ validpgpkeys = 190555472DCC589BEF01609C608A86DF9833CC49
+ sha512sums = 97a067fcea6156e2d5cf981e8d8fc9b0a709b8175bc8061a1f254bff7b11a27fdafc5e8425665523e917133084ea3a11e11de7c1210a8d2eb3f6b1cca26ea844
pkgname = lib32-neon
-
diff --git a/PKGBUILD b/PKGBUILD
index f80dda39a12a..d1314ec48a06 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,42 +1,49 @@
+# Maintainer: Rodrigo Bezerra <rodrigobezerra21 at gmail dot com>
+# Contributor: GordonGR <ntheo1979@gmail.com>
# Contributor: josephgbr <rafael.f.f1@gmail.com>
-# Maintainer: GordonGR <ntheo1979@gmail.com>
-_pkgname=neon
-pkgname=lib32-${_pkgname}
-pkgver=0.30.2
-pkgrel=4
+_basename=neon
+pkgname=lib32-neon
+pkgver=0.32.5
+pkgrel=1
pkgdesc="HTTP and WebDAV client library with a C interface (32 bit)"
arch=('x86_64')
+url="https://notroj.github.io/neon"
license=('GPL' 'LGPL')
-depends=('lib32-krb5' 'lib32-expat' "${_pkgname}" 'ca-certificates' 'zlib')
-url="https://web.archive.org/web/20170928175008/http://www.webdav.org/neon/"
-source=("https://fossies.org/linux/www/${_pkgname}-${pkgver}.tar.gz")
+depends=('lib32-krb5' 'lib32-expat' 'lib32-zlib' 'ca-certificates' 'neon')
+makedepends=('xmlto' 'docbook-xsl')
options=('libtool') # FS#16067
-md5sums=('e28d77bf14032d7f5046b3930704ef41')
+source=(https://notroj.github.io/neon/${_basename}-${pkgver}.tar.gz)
+sha512sums=('97a067fcea6156e2d5cf981e8d8fc9b0a709b8175bc8061a1f254bff7b11a27fdafc5e8425665523e917133084ea3a11e11de7c1210a8d2eb3f6b1cca26ea844')
+validpgpkeys=('190555472DCC589BEF01609C608A86DF9833CC49') # Joe Orton
build() {
-export CC='gcc -m32'
-export CXX='g++ -m32'
-export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
-
-cd "${srcdir}"/${_pkgname}-${pkgver}
-./configure --prefix=/usr \
- --with-expat \
- --enable-shared \
- --disable-static \
- --with-ssl=openssl \
- --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \
- --libdir=/usr/lib32 --without-libproxy # without proxy, just like 'neon' package
-
-sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-make
-
-# fix invalid .so links in man pages (FS#24902)
-sed -i '/^\.so/s|\.so \([^.]\+\)\.\([[:digit:]]\)|.so man\2/\1.\2|' doc/man/*
+ cd "${_basename}-${pkgver}"
+
+ export CC='gcc -m32'
+ export CXX='g++ -m32'
+ export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+ ./configure \
+ --build=i686-pc-linux-gnu \
+ --prefix=/usr \
+ --libdir=/usr/lib32 \
+ --with-expat \
+ --enable-shared \
+ --disable-static \
+ --with-ssl=openssl \
+ --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \
+ --without-libproxy
+
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
}
package() {
-cd "${srcdir}"/${_pkgname}-${pkgver}
-make DESTDIR="${pkgdir}" install
-rm -rf "${pkgdir}/usr"/{bin,include,share}
+ cd "${_basename}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ rm -rf "${pkgdir}/usr"/{bin,include,share}
}