From b4b156809898dd7632de4f7bbdfe6cfd16034e19 Mon Sep 17 00:00:00 2001 From: Subhaditya Nath Date: Sat, 26 Mar 2022 10:49:57 +0530 Subject: [PATCH 1/3] New package: glirc-2.38 --- srcpkgs/glirc/template | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 srcpkgs/glirc/template diff --git a/srcpkgs/glirc/template b/srcpkgs/glirc/template new file mode 100644 index 000000000000..722796c88d6c --- /dev/null +++ b/srcpkgs/glirc/template @@ -0,0 +1,38 @@ +# Template file for 'glirc' +pkgname=glirc +version=2.38 +revision=1 +wrksrc="irc-core-${version}" +hostmakedepends="cabal-install" +makedepends="ncurses-devel openssl-devel" +short_desc="Console IRC client written in Haskell" +maintainer="Subhaditya Nath " +license="ISC" +homepage="https://github.com/glguy/irc-core" +distfiles="https://github.com/glguy/irc-core/archive/refs/tags/v${version}.tar.gz" +checksum=abb51831a3748c22eb5f8fbeee1fa71d2a99a6f92331976eef980f8f7d0c9680 +nocross="cabal does not support cross compilation" +nopie=yes # ghc is currently built without PIE support + +_cabal_opts="-g" + +if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + makedepends+=" libatomic-devel" + _cabal_opts+=" --ghc-option -latomic" +fi + +if [ "$XBPS_MAKEJOBS" ]; then + _cabal_opts+=" --jobs=$XBPS_MAKEJOBS" +fi + +do_build() { + cabal update $_cabal_opts + cabal build $_cabal_opts + mv dist-newstyle/build/*/*/glirc-${version}/build/glirc/glirc glirc +} + +do_install() { + vbin glirc + vman glirc.1 + vlicense LICENSE +} From 3cc6bea222c1cffc345c6c2d3da3bb49df341bb4 Mon Sep 17 00:00:00 2001 From: Subhaditya Nath Date: Sun, 19 Jun 2022 00:16:34 +0530 Subject: [PATCH 2/3] glirc: update to 2.39 --- srcpkgs/glirc/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/glirc/template b/srcpkgs/glirc/template index 722796c88d6c..7941130bb155 100644 --- a/srcpkgs/glirc/template +++ b/srcpkgs/glirc/template @@ -1,6 +1,6 @@ # Template file for 'glirc' pkgname=glirc -version=2.38 +version=2.39 revision=1 wrksrc="irc-core-${version}" hostmakedepends="cabal-install" @@ -10,7 +10,7 @@ maintainer="Subhaditya Nath " license="ISC" homepage="https://github.com/glguy/irc-core" distfiles="https://github.com/glguy/irc-core/archive/refs/tags/v${version}.tar.gz" -checksum=abb51831a3748c22eb5f8fbeee1fa71d2a99a6f92331976eef980f8f7d0c9680 +checksum=9e6031fe4ee5db73cb49be746844343f9ec5df318d1120317b80da05cda5a79f nocross="cabal does not support cross compilation" nopie=yes # ghc is currently built without PIE support From 0d7cf9c82dac5eab6786ebd22405ead9104a3e58 Mon Sep 17 00:00:00 2001 From: Subhaditya Nath Date: Sun, 31 Jul 2022 10:11:18 +0530 Subject: [PATCH 3/3] glirc: update to 2.39.0.1 --- srcpkgs/glirc/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/glirc/template b/srcpkgs/glirc/template index 7941130bb155..db984c13a461 100644 --- a/srcpkgs/glirc/template +++ b/srcpkgs/glirc/template @@ -1,6 +1,6 @@ # Template file for 'glirc' pkgname=glirc -version=2.39 +version=2.39.0.1 revision=1 wrksrc="irc-core-${version}" hostmakedepends="cabal-install" @@ -10,7 +10,7 @@ maintainer="Subhaditya Nath " license="ISC" homepage="https://github.com/glguy/irc-core" distfiles="https://github.com/glguy/irc-core/archive/refs/tags/v${version}.tar.gz" -checksum=9e6031fe4ee5db73cb49be746844343f9ec5df318d1120317b80da05cda5a79f +checksum=16bfe9c8df273fb074ce1da91964131318934a6d568be5271c350548eeb1a6af nocross="cabal does not support cross compilation" nopie=yes # ghc is currently built without PIE support