[arch-commits] Commit in uriparser/trunk (PKGBUILD)
Christian Hesse
eworm at archlinux.org
Mon Dec 18 10:32:50 UTC 2017
Date: Monday, December 18, 2017 @ 10:32:49
Author: eworm
Revision: 274728
upgpkg: uriparser 0.8.4-2
use https in urls
Modified:
uriparser/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-18 10:32:48 UTC (rev 274727)
+++ PKGBUILD 2017-12-18 10:32:49 UTC (rev 274728)
@@ -4,18 +4,18 @@
pkgname=uriparser
pkgver=0.8.4
-pkgrel=1
-pkgdesc="uriparser is a strictly RFC 3986 compliant URI parsing library. uriparser is cross-platform, fast, supports Unicode"
-url="http://sourceforge.net/projects/uriparser/"
-depends=()
-makedepends=(doxygen graphviz)
+pkgrel=2
+pkgdesc='uriparser is a strictly RFC 3986 compliant URI parsing library. uriparser is cross-platform, fast, supports Unicode'
+url='https://sourceforge.net/projects/uriparser/'
+makedepends=('doxygen' 'graphviz')
arch=('x86_64')
license=("custom")
-source=(http://downloads.sourceforge.net/sourceforge/uriparser/$pkgname-$pkgver.tar.bz2)
+source=("https://downloads.sourceforge.net/sourceforge/uriparser/$pkgname-$pkgver.tar.bz2")
sha256sums=('ce7ccda4136974889231e8426a785e7578e66a6283009cfd13f1b24a5e657b23')
prepare() {
cd "$srcdir"/$pkgname-$pkgver
+
sed -i \
-e 's|{css,gif,html,png}|{css,html,png}|' \
-e 's|html/\*.map||' \
@@ -24,6 +24,7 @@
build() {
cd "$srcdir"/$pkgname-$pkgver
+
[ -f Makefile ] || ./configure --prefix=/usr --disable-test
make
}
@@ -30,6 +31,7 @@
package() {
cd "$srcdir"/$pkgname-$pkgver
+
make DESTDIR="$pkgdir" install
install -D -m644 "${srcdir}/$pkgname-$pkgver/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
More information about the arch-commits
mailing list