Skip to content

Commit

Permalink
swirc: update to 3.3.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhlin authored and ericonr committed Sep 16, 2021
1 parent 48e5350 commit 30b5794
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions srcpkgs/swirc/template
@@ -1,19 +1,30 @@
# Template file for 'swirc'
pkgname=swirc
version=3.3.0
version=3.3.1
revision=1
build_style=configure
configure_args="$(vopt_with notify libnotify)"
make_install_args="PREFIX=/usr"
hostmakedepends="pkg-config which"
makedepends="libcurl-devel openssl-devel ncurses-devel libidn-devel"
hostmakedepends="gettext-devel-tools pkg-config which"
makedepends="gettext-devel libcurl-devel libidn-devel ncurses-devel openssl-devel
$(vopt_if notify libnotify-devel)"
checkdepends="cmocka-devel"
short_desc="Curses ICB and IRC client"
maintainer="Markus Uhlin <markus.uhlin@bredband.net>"
license="BSD-3-Clause, ISC, MIT"
homepage="https://www.nifty-networks.net/swirc"
changelog="https://raw.githubusercontent.com/uhlin/swirc/master/CHANGELOG.md"
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() {
local _file="options.mk"
Expand All @@ -35,6 +46,7 @@ post_check() {
# file during the "make check" phase. Thus a fresh rebuild is
# needed.
make clean
make -Cpo
make ${makejobs}
}

Expand Down

0 comments on commit 30b5794

Please sign in to comment.