aerc: update to 0.9.0
This commit is contained in:
parent
0ce7bd6b4d
commit
4af58a22bf
18
srcpkgs/aerc/patches/makefile-only-install.patch
Normal file
18
srcpkgs/aerc/patches/makefile-only-install.patch
Normal 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
|
|
@ -1,29 +1,21 @@
|
||||||
# Template file for 'aerc'
|
# Template file for 'aerc'
|
||||||
pkgname=aerc
|
pkgname=aerc
|
||||||
version=0.7.1
|
version=0.9.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=go
|
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"
|
makedepends="libnotmuch-devel"
|
||||||
short_desc="Terminal email client"
|
short_desc="Terminal email client"
|
||||||
maintainer="shtayerc <david.murko@mailbox.org>"
|
maintainer="shtayerc <david.murko@mailbox.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://aerc-mail.org"
|
homepage="https://aerc-mail.org"
|
||||||
distfiles="https://git.sr.ht/~rjarry/aerc/archive/${version}.tar.gz"
|
distfiles="https://git.sr.ht/~rjarry/aerc/archive/${version}.tar.gz"
|
||||||
checksum=e149236623c103c8526b1f872b4e630e67f15be98ac604c0ea0186054dbef0cc
|
checksum=b5901feb37a55edd1f713e76c1012ac3fc0757202ddacd7d388cc7ce60638023
|
||||||
|
|
||||||
do_configure() {
|
|
||||||
:
|
|
||||||
}
|
|
||||||
|
|
||||||
do_build() {
|
|
||||||
make ${makejobs} PREFIX=/usr GOFLAGS=-tags=notmuch
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
make STRIP=true PREFIX=/usr DESTDIR=${DESTDIR} install
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
make PREFIX=/usr DESTDIR=${DESTDIR} install
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue