[arch-commits] Commit in nghttp2/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Fri Mar 3 10:35:15 UTC 2017


    Date: Friday, March 3, 2017 @ 10:35:14
  Author: jgc
Revision: 289919

upgpkg: nghttp2 1.20.0-2

Split libnghttp2 to a standalone package for core

Modified:
  nghttp2/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-03 10:35:05 UTC (rev 289918)
+++ PKGBUILD	2017-03-03 10:35:14 UTC (rev 289919)
@@ -4,18 +4,19 @@
 
 pkgname=nghttp2
 pkgver=1.20.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Framing layer of HTTP/2 is implemented as a reusable C library'
 arch=(i686 x86_64)
 url='https://nghttp2.org/'
 license=(MIT)
-depends=(openssl libev zlib libxml2 jansson jemalloc c-ares)
-source=(nghttp2-$pkgver.zip::https://github.com/tatsuhiro-t/nghttp2/archive/v$pkgver.zip)
+depends=(openssl libev zlib libxml2 jansson jemalloc c-ares libnghttp2)
+options=(!emptydirs)
+source=(https://github.com/nghttp2/nghttp2/releases/download/v$pkgver/nghttp2-$pkgver.tar.xz)
 backup=(
   etc/nghttpx/nghttpx.conf
   etc/logrotate.d/nghttpx
 )
-sha256sums=('18dbaa8632ea61c4868a2eeb9682108279e709126c47b5eb89de1622160f7f23')
+sha256sums=('2b2b78915284f32d86c80cd8037b8e5f8c9e94f8a98f674a45cdfb79b863ce62')
 
 build() {
   cd nghttp2-$pkgver
@@ -38,6 +39,8 @@
   cd nghttp2-$pkgver
 
   make DESTDIR="$pkgdir" install
+  make -C lib DESTDIR="$pkgdir" uninstall
+
   install -Dm644 contrib/nghttpx.service "$pkgdir/usr/lib/systemd/system/nghttpx.service"
   install -Dm644 contrib/nghttpx-logrotate "$pkgdir/etc/logrotate.d/nghttpx"
   install -Dm644 nghttpx.conf.sample "$pkgdir/etc/nghttpx/nghttpx.conf"



More information about the arch-commits mailing list