diff options
author | Moritz Poldrack | 2023-08-13 11:39:54 +0200 |
---|---|---|
committer | Moritz Poldrack | 2023-08-13 11:39:54 +0200 |
commit | e7a40f68d402e11228fbe22fc0b11eb543e72e69 (patch) | |
tree | 854c758cf48d8c821360c1627048e37b262d40bd | |
parent | 5ab1bd167f2a0c752aa10cad88576b4e2a2152a7 (diff) | |
download | aur-aerc-no-notmuch-git.tar.gz |
remove aerc makefile patch
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 19 | ||||
-rw-r--r-- | makefile-fix.patch | 13 |
3 files changed, 6 insertions, 30 deletions
@@ -1,6 +1,6 @@ pkgbase = aerc-no-notmuch-git pkgdesc = Email Client for your Terminal (compiled without notmuch support) - pkgver = 0.14.0.r37.gc3db57a + pkgver = 0.15.2.r131.ga5d6a70 pkgrel = 1 url = https://aerc-mail.org/ arch = x86_64 @@ -14,8 +14,6 @@ pkgbase = aerc-no-notmuch-git conflicts = aerc options = !buildflags source = aerc::git+https://git.sr.ht/~rjarry/aerc - source = makefile-fix.patch sha512sums = SKIP - sha512sums = ea2c9187c8b388cc4b00e40be9152e5eb11610d9f2c3f87020172d68cff12de4c2f2fb812bc8c8afb1f63f7a044632dfe1794d569d24a8ac43d1bdec8a1737ce pkgname = aerc-no-notmuch-git @@ -5,7 +5,7 @@ pkgname=(aerc-no-notmuch-git) _pkgname=aerc -pkgver=0.15.2.r69.gf7837ed +pkgver=0.15.2.r131.ga5d6a70 pkgrel=1 pkgdesc='Email Client for your Terminal (compiled without notmuch support)' arch=('x86_64') @@ -16,12 +16,8 @@ makedepends=('go' 'git' 'scdoc') optdepends=('w3m: html viewer support' 'dante: proxy support') provides=('aerc') conflicts=('aerc') -source=( - "${_pkgname}::git+https://git.sr.ht/~rjarry/${_pkgname}" - "makefile-fix.patch" -) -sha512sums=('SKIP' - 'ea2c9187c8b388cc4b00e40be9152e5eb11610d9f2c3f87020172d68cff12de4c2f2fb812bc8c8afb1f63f7a044632dfe1794d569d24a8ac43d1bdec8a1737ce') +source=("${_pkgname}::git+https://git.sr.ht/~rjarry/${_pkgname}") +sha512sums=('SKIP') options=('!buildflags') pkgver () { @@ -33,11 +29,6 @@ pkgver () { ) } -prepare () { - cd "${srcdir}/${_pkgname}" - git apply "${srcdir}/makefile-fix.patch" -} - build () { cd "${srcdir}/${_pkgname}" export CGO_LDFLAGS="${LDFLAGS}" @@ -45,11 +36,11 @@ build () { export CGO_CPPFLAGS="${CPPFLAGS}" export CGO_CXXFLAGS="${CXXFLAGS}" export GOFLAGS="-buildmode=pie -trimpath -modcacherw" - make PREFIX=/usr LIBEXECDIR=/usr/lib/aerc VERSION="${pkgver}" all + make PREFIX=/usr LIBEXECDIR=/usr/lib/aerc VERSION="${pkgver}" "DESTDIR=$pkgdir" all } package () { cd "${srcdir}/${_pkgname}" - make PREFIX=/usr LIBEXECDIR=/usr/lib/aerc DESTDIR=$pkgdir install + make PREFIX=/usr LIBEXECDIR=/usr/lib/aerc "DESTDIR=$pkgdir" install install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/aerc/" } diff --git a/makefile-fix.patch b/makefile-fix.patch deleted file mode 100644 index 59f095af5c69..000000000000 --- a/makefile-fix.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/Makefile b/Makefile -index 55a0b93..2814c32 100644 ---- a/Makefile -+++ b/Makefile -@@ -112,7 +112,7 @@ RM?=rm -f - clean: - $(RM) $(DOCS) aerc wrap colorize - --install: $(DOCS) aerc wrap colorize -+install: - @# `install -D` is not supported on all platforms (macos install(1) - @# dates back to the middle ages and does not have this flag). - @# The folders must be created manually first. |