aerc: update to 0.9.0

This commit is contained in:
shtayerc 2022-02-21 17:57:14 +01:00 committed by Echo
parent 0ce7bd6b4d
commit 4af58a22bf
2 changed files with 25 additions and 15 deletions

View file

@ -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

View file

@ -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
}