From 4e1d1bd79765c22abde33f7839d2e6d2063529b3 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sun, 23 Oct 2022 16:46:46 +0200 Subject: [PATCH] swirc: update to 3.3.7. --- srcpkgs/swirc/template | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/srcpkgs/swirc/template b/srcpkgs/swirc/template index f8cd48bb2839..366d7e0cced3 100644 --- a/srcpkgs/swirc/template +++ b/srcpkgs/swirc/template @@ -1,9 +1,11 @@ # Template file for 'swirc' pkgname=swirc -version=3.3.6 +version=3.3.7 revision=1 build_style=configure configure_args="$(vopt_with notify libnotify)" +make_build_args="PREFIX=/usr" +make_check_args="PREFIX=/usr" make_install_args="PREFIX=/usr" hostmakedepends="gettext-devel-tools pkg-config which" makedepends="gettext-devel libcurl-devel libidn-devel ncurses-devel openssl-devel @@ -15,14 +17,10 @@ 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="d37b24bb5ede44e34a1fcbdfe70cbd94b0f2bec5cc69c76ff73554b5544b0418" +checksum="c9fcfbec47e2aaebf5a5d714a41eaa8f03b063d172a615b465d5f543020ca9b0" build_options="notify" - -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," -} +build_options_default="notify" post_configure() { local _file="options.mk" @@ -49,5 +47,5 @@ post_check() { } post_install() { - vlicense debian/copyright COPYING + vlicense License.rtf }