Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: glirc-2.38
@ 2022-03-26 14:15 subnut
  2022-03-26 14:25 ` [PR PATCH] [Updated] " subnut
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: subnut @ 2022-03-26 14:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1191 bytes --]

There is a new pull request by subnut against master on the void-packages repository

https://github.com/subnut/void-packages glirc
https://github.com/void-linux/void-packages/pull/36362

New package: glirc-2.38
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
<!-- 
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/36362.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-glirc-36362.patch --]
[-- Type: text/x-diff, Size: 1639 bytes --]

From 18672ce8c6236e5426a94873ebf79592c10b8cd2 Mon Sep 17 00:00:00 2001
From: Subhaditya Nath <sn03.general@gmail.com>
Date: Sat, 26 Mar 2022 10:49:57 +0530
Subject: [PATCH] New package: glirc-2.38

---
 srcpkgs/glirc/template | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 srcpkgs/glirc/template

diff --git a/srcpkgs/glirc/template b/srcpkgs/glirc/template
new file mode 100644
index 000000000000..1e07f32f1983
--- /dev/null
+++ b/srcpkgs/glirc/template
@@ -0,0 +1,41 @@
+# 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 <sn03.general@gmail.com>"
+license="ISC"
+homepage="https://github.com/glguy/irc-core"
+distfiles="https://github.com/glguy/irc-core/archive/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
+
+_ghcver="$(xbps-query -S ghc --prop pkgver)"
+_ghcver="${_ghcver%_*}"
+
+do_build() {
+	cabal update $_cabal_opts
+	cabal build  $_cabal_opts
+	mv dist-newstyle/build/*/${_ghcver}/glirc-${version}/build/glirc/glirc glirc
+}
+
+do_install() {
+	vbin glirc
+	vman glirc.1
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-10-26 15:52 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-26 14:15 [PR PATCH] New package: glirc-2.38 subnut
2022-03-26 14:25 ` [PR PATCH] [Updated] " subnut
2022-03-26 17:29 ` [PR PATCH] [Closed]: " subnut
2022-03-26 17:30 ` subnut
2022-03-26 18:21 ` [PR REVIEW] " Chocimier
2022-03-26 18:23 ` [PR PATCH] [Updated] " subnut
2022-03-26 18:24 ` [PR REVIEW] " subnut
2022-03-26 18:37 ` subnut
2022-03-27  2:03 ` [PR PATCH] [Updated] " subnut
2022-06-18 18:47 ` subnut
2022-07-31  4:41 ` subnut
2022-10-07  9:16 ` leahneukirchen
2022-10-25 18:04 ` [PR PATCH] [Updated] " subnut
2022-10-26 15:52 ` [PR PATCH] [Merged]: New package: glirc-2.39.0.1 leahneukirchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).