swirc: update to 3.3.1.

This commit is contained in:
Markus Uhlin 2021-09-11 21:40:24 +02:00 committed by Érico Nogueira Rolim
parent 48e5350b51
commit 30b57944cf

View file

@ -1,11 +1,13 @@
# Template file for 'swirc' # Template file for 'swirc'
pkgname=swirc pkgname=swirc
version=3.3.0 version=3.3.1
revision=1 revision=1
build_style=configure build_style=configure
configure_args="$(vopt_with notify libnotify)"
make_install_args="PREFIX=/usr" make_install_args="PREFIX=/usr"
hostmakedepends="pkg-config which" hostmakedepends="gettext-devel-tools pkg-config which"
makedepends="libcurl-devel openssl-devel ncurses-devel libidn-devel" makedepends="gettext-devel libcurl-devel libidn-devel ncurses-devel openssl-devel
$(vopt_if notify libnotify-devel)"
checkdepends="cmocka-devel" checkdepends="cmocka-devel"
short_desc="Curses ICB and IRC client" short_desc="Curses ICB and IRC client"
maintainer="Markus Uhlin <markus.uhlin@bredband.net>" maintainer="Markus Uhlin <markus.uhlin@bredband.net>"
@ -13,7 +15,16 @@ license="BSD-3-Clause, ISC, MIT"
homepage="https://www.nifty-networks.net/swirc" homepage="https://www.nifty-networks.net/swirc"
changelog="https://raw.githubusercontent.com/uhlin/swirc/master/CHANGELOG.md" changelog="https://raw.githubusercontent.com/uhlin/swirc/master/CHANGELOG.md"
distfiles="https://www.nifty-networks.net/swirc/releases/${pkgname}-${version}.tgz" distfiles="https://www.nifty-networks.net/swirc/releases/${pkgname}-${version}.tgz"
checksum="4faae10ab3e08d544f5377c7ba94d86d7d6c3a4c79e41b11b1b864faab0e5764" checksum="6066d3e31bb8d7930989586f7a8ade0a04901bc77befe2bcf58d99689d304685"
build_options="notify"
desc_option_notify="Enable support for desktop notifications"
post_extract() {
vsed -i "${wrksrc}/src/events/privmsg.cpp" -e "s,/usr/local/share/swirc,/usr/share/swirc,"
vsed -i "${wrksrc}/src/main.cpp" -e "s,/usr/local/share/locale,/usr/share/locale,"
}
post_configure() { post_configure() {
local _file="options.mk" local _file="options.mk"
@ -35,6 +46,7 @@ post_check() {
# file during the "make check" phase. Thus a fresh rebuild is # file during the "make check" phase. Thus a fresh rebuild is
# needed. # needed.
make clean make clean
make -Cpo
make ${makejobs} make ${makejobs}
} }