The reason that it built twice is that the makefile places the build
command into a file to cause a rebuild should the configuration
(version, ldflags, etc) change. We need to provide the same make
variables for each run of make to avoid this.
---
community/aerc/APKBUILD | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/community/aerc/APKBUILD b/community/aerc/APKBUILD
index db76692adb..9fd731c8a4 100644
--- a/community/aerc/APKBUILD+++ b/community/aerc/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=aerc
-pkgver=0.8.2-pkgrel=1+pkgver=0.9.0+pkgrel=0pkgdesc="email client for your terminal"
url="https://aerc-mail.org"
arch="all"
@@ -21,9 +21,10 @@ check() {
}
package() {
- make install PREFIX=/usr DESTDIR="$pkgdir"+ unset LDFLAGS+ make install PREFIX=/usr DESTDIR="$pkgdir" VERSION=$pkgver}
sha512sums="
-287f628cce4eee9a308c11319d77396ff43f31b9c608dfeb1f8200935329f03c89bdba03259d22857aea6e80c4c664362006c0aee630586ed168e3049e4dfbaf aerc-0.8.2.tar.gz+5821a35bc9c893ac800532b24cce0dcee5113fe41cce057e3ce952c7d7e9add680cbb11b4700cc8896d852817534d979df44f1cb82d93ae5438ebed826bab7bb aerc-0.9.0.tar.gz"
base-commit: 885fbddf02f7ed1a4cd5b4d5423b1f04fd14c6ec
prerequisite-patch-id: 2d54edaaade50b5a12b6ea84a2ce88e87451d7be
prerequisite-patch-id: 941711984b73b51577fa4c00aeba004c06a6ddc3
prerequisite-patch-id: c616a10d78430421fd27961adb202c1846e9776a
prerequisite-patch-id: d6c67b207203e99a143162011c6efc89ce956d16
prerequisite-patch-id: 8998f9c236fd950b832692b121466f5ec661ec63
prerequisite-patch-id: 77d9be85e468b0c35f1f3f961d0f8a2ae9ab0937
--
2.35.1