From 7bf120e4375a864e5ac5b38d884632949762d032 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 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/srcpkgs/swirc/template b/srcpkgs/swirc/template index f8cd48bb2839..fc09c389b0e0 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,17 +17,15 @@ 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" + local _file + + _file="options.mk" if [ ! -f "$_file" ]; then msg_error "cannot find $_file\n" @@ -49,5 +49,5 @@ post_check() { } post_install() { - vlicense debian/copyright COPYING + vlicense License.rtf }