Github messages for voidlinux
 help / color / mirror / Atom feed
From: shtayerc <shtayerc@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] aerc: update to 0.9.0
Date: Fri, 25 Mar 2022 17:15:10 +0100	[thread overview]
Message-ID: <20220325161510.vc5TM9w14tqkhFfj4lZccpOLDBsy83tLQ3dkjCCxdVE@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35736@inbox.vuxu.org>

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

There is an updated pull request by shtayerc against master on the void-packages repository

https://github.com/shtayerc/void-packages aerc-081
https://github.com/void-linux/void-packages/pull/35736

aerc: update to 0.9.0
<!-- 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**|**NO**
-->

<!-- 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, (ARCH-LIBC)
- 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/35736.patch is attached

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

From c55f92f912e0c76ff0ef4debf2cba39b176a07e7 Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Mon, 21 Feb 2022 17:57:14 +0100
Subject: [PATCH] aerc: update to 0.9.0

---
 .../aerc/patches/makefile-only-install.patch  | 18 +++++++++++++++
 srcpkgs/aerc/template                         | 22 ++++++-------------
 2 files changed, 25 insertions(+), 15 deletions(-)
 create mode 100644 srcpkgs/aerc/patches/makefile-only-install.patch

diff --git a/srcpkgs/aerc/patches/makefile-only-install.patch b/srcpkgs/aerc/patches/makefile-only-install.patch
new file mode 100644
index 000000000000..696832fe736c
--- /dev/null
+++ b/srcpkgs/aerc/patches/makefile-only-install.patch
@@ -0,0 +1,18 @@
+Build style handles building and installing aerc binary.
+Makefile should only install remaining files.
+
+--- ./Makefile
++++ ./Makefile
+@@ -82,11 +82,10 @@
+ clean:
+ 	$(RM) $(DOCS) aerc
+ 
+-install: $(DOCS) aerc
++install: $(DOCS)
+ 	mkdir -m755 -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1 $(DESTDIR)$(MANDIR)/man5 $(DESTDIR)$(MANDIR)/man7 \
+ 		$(DESTDIR)$(SHAREDIR) $(DESTDIR)$(SHAREDIR)/filters $(DESTDIR)$(SHAREDIR)/templates $(DESTDIR)$(SHAREDIR)/stylesets \
+ 		$(DESTDIR)$(PREFIX)/share/applications
+-	install -m755 aerc $(DESTDIR)$(BINDIR)/aerc
+ 	install -m644 aerc.1 $(DESTDIR)$(MANDIR)/man1/aerc.1
+ 	install -m644 aerc-search.1 $(DESTDIR)$(MANDIR)/man1/aerc-search.1
+ 	install -m644 aerc-config.5 $(DESTDIR)$(MANDIR)/man5/aerc-config.5
diff --git a/srcpkgs/aerc/template b/srcpkgs/aerc/template
index 2ff3b10c48c1..30a431484026 100644
--- a/srcpkgs/aerc/template
+++ b/srcpkgs/aerc/template
@@ -1,29 +1,21 @@
 # Template file for 'aerc'
 pkgname=aerc
-version=0.7.1
+version=0.9.0
 revision=1
 build_style=go
-hostmakedepends="scdoc git"
+go_import_path="git.sr.ht/~rjarry/aerc"
+go_build_tags=notmuch
+go_ldflags="-X main.Version=${version}"
+hostmakedepends="scdoc"
 makedepends="libnotmuch-devel"
 short_desc="Terminal email client"
 maintainer="shtayerc <david.murko@mailbox.org>"
 license="MIT"
 homepage="https://aerc-mail.org"
 distfiles="https://git.sr.ht/~rjarry/aerc/archive/${version}.tar.gz"
-checksum=e149236623c103c8526b1f872b4e630e67f15be98ac604c0ea0186054dbef0cc
-
-do_configure() {
-	:
-}
-
-do_build() {
-	make ${makejobs} PREFIX=/usr GOFLAGS=-tags=notmuch
-}
-
-do_install() {
-	make STRIP=true PREFIX=/usr DESTDIR=${DESTDIR} install
-}
+checksum=b5901feb37a55edd1f713e76c1012ac3fc0757202ddacd7d388cc7ce60638023
 
 post_install() {
+ 	make PREFIX=/usr DESTDIR=${DESTDIR} install
 	vlicense LICENSE
 }

  parent reply	other threads:[~2022-03-25 16:15 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-21 17:36 [PR PATCH] aerc: update to 0.8.1 shtayerc
2022-02-22 17:05 ` [PR REVIEW] " TinfoilSubmarine
2022-02-22 17:05 ` TinfoilSubmarine
2022-02-22 17:06 ` TinfoilSubmarine
2022-02-22 17:08 ` TinfoilSubmarine
2022-02-22 17:14 ` TinfoilSubmarine
2022-02-22 18:05 ` TinfoilSubmarine
2022-02-22 18:32 ` [PR PATCH] [Updated] " shtayerc
2022-02-22 18:36 ` [PR REVIEW] " shtayerc
2022-02-22 19:54 ` novakne
2022-02-22 19:59 ` novakne
2022-02-22 20:13 ` [PR PATCH] [Updated] " shtayerc
2022-02-23  0:28 ` [PR REVIEW] aerc: update to 0.8.2 paper42
2022-02-23  1:44 ` [PR PATCH] [Updated] " shtayerc
2022-03-23  9:33 ` novakne
2022-03-24 18:09 ` [PR PATCH] [Updated] " shtayerc
2022-03-24 18:20 ` shtayerc
2022-03-24 18:22 ` shtayerc
2022-03-24 18:25 ` shtayerc
2022-03-24 21:58 ` [PR REVIEW] aerc: update to 0.9.0 paper42
2022-03-25  6:17 ` shtayerc
2022-03-25 16:15 ` shtayerc [this message]
2022-03-25 16:18 ` shtayerc
2022-03-25 21:57 ` paper42
2022-03-25 21:58 ` [PR PATCH] [Merged]: " paper42
2022-03-26 10:42 ` [PR REVIEW] " shtayerc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220325161510.vc5TM9w14tqkhFfj4lZccpOLDBsy83tLQ3dkjCCxdVE@z \
    --to=shtayerc@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).