From 81871816bc46468b78d3fc5728389bc81037049c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sat, 11 May 2019 18:16:49 +0200 Subject: [PATCH] libircclient: fix libircclient.pc sed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Buchmüller --- srcpkgs/libircclient/files/libircclient.pc | 2 +- srcpkgs/libircclient/template | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/libircclient/files/libircclient.pc b/srcpkgs/libircclient/files/libircclient.pc index ca92609cb9..45bdc95160 100644 --- a/srcpkgs/libircclient/files/libircclient.pc +++ b/srcpkgs/libircclient/files/libircclient.pc @@ -3,5 +3,5 @@ libdir=${prefix}/lib Name: libircclient Description: IRC client library -Version: 1.10 +Version: @version@ Libs: -L${libdir} -lircclient -lcrypto -lssl diff --git a/srcpkgs/libircclient/template b/srcpkgs/libircclient/template index 8036d089f0..92623fd3d0 100644 --- a/srcpkgs/libircclient/template +++ b/srcpkgs/libircclient/template @@ -1,7 +1,7 @@ # Template file for 'libircclient' pkgname=libircclient version=1.10 -revision=1 +revision=2 build_style=gnu-configure configure_args="--libdir=/usr/lib --enable-openssl --enable-ipv6 --enable-shared" hostmakedepends="automake libtool pkg-config" @@ -24,7 +24,7 @@ post_install() { vcopy doc/*.rst usr/share/doc/${pkgname} vcopy doc/sources/*.rst usr/share/doc/${pkgname} vmkdir usr/lib/pkgconfig - sed -i ${FILESDIR}/${sourcepkg}.pc -e "s;@version@;${version};" \ + sed ${FILESDIR}/${sourcepkg}.pc -e "s;@version@;${version};" \ > ${DESTDIR}/usr/lib/pkgconfig/${sourcepkg}.pc vman man/${pkgname}.1 }