libircclient: fix libircclient.pc sed

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2019-05-11 18:16:49 +02:00
parent ad0345105a
commit 81871816bc
No known key found for this signature in database
GPG key ID: DE55AD8DBEBB4EE8
2 changed files with 3 additions and 3 deletions

View file

@ -3,5 +3,5 @@ libdir=${prefix}/lib
Name: libircclient
Description: IRC client library
Version: 1.10
Version: @version@
Libs: -L${libdir} -lircclient -lcrypto -lssl

View file

@ -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
}