Package Details: aerc-git r289.c4c8648-1

Git Clone URL: https://aur.archlinux.org/aerc-git.git (read-only)
Package Base: aerc-git
Description: Email Client for your Terminal
Upstream URL: https://git.sr.ht/~sircmpwn/aerc
Keywords: email go mua terminal
Licenses: MIT
Conflicts: aerc
Provides: aerc
Submitter: aksr
Maintainer: rumpelsepp (gkbrk, SirCmpwn)
Last Packager: rumpelsepp
Votes: 3
Popularity: 0.869474
First Submitted: 2016-10-08 06:42
Last Updated: 2019-05-25 15:43

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

rumpelsepp commented on 2019-05-19 09:03

@mgr: I already filed an appropriate request. For the time being the package builds again.

mgr commented on 2019-05-18 18:17

aerc2 has now been moved to the upstream repo referenced in this PKGBUILD. This is a re-write in Go, so the PKGBUILD seems to work, but doesn’t match the actual software.

The old version, which this package used before, has been moved to https://git.sr.ht/~sircmpwn/aerc-legacy

mgr commented on 2019-05-18 18:14

The upstream repo has been moved to https://git.sr.ht/~sircmpwn/aerc The old aerc is now 'aerc-legacy'.

gkbrk commented on 2019-05-05 12:08

Hey @rumpelsepp, Thanks you for the improvements to the package. I have pushed those changes to the repo.

rumpelsepp commented on 2019-04-28 19:37

PS: I am willing to co maintain this if you wish. :)

Here are some links I applied to the posted PKGBUILD:

rumpelsepp commented on 2019-04-28 19:37

Your PKBUILD is broken. Use this instead:

# Maintainer: Gökberk Yaltıraklı <aur at gkbrk dot com>
# Contributor: Stefan Tatschner <stefan@rumpelsepp.org>

pkgname=aerc2-git
_pkgname=aerc2
pkgver=r187.a275f65
pkgrel=1
pkgdesc='Email Client for your Terminal'
arch=('x86_64')
url='https://git.sr.ht/~sircmpwn/aerc2'
license=('MIT')
depends=('libvterm')
makedepends=('go')
provides=('aerc2')
conflicts=('aerc2')
source=("aerc2::git+$url")
sha512sums=('SKIP')

pkgver() {
    cd "$srcdir/$_pkgname"

    ( set -o pipefail
      git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
      printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
    )
}

prepare() {
    cd "$srcdir/$_pkgname"
    # change filenames in example config to include package dirs
    sed -i 's|contrib/\(.*\)|/usr/share/aerc2/\1|' config/aerc.conf
}

build() {
    cd "$srcdir/$_pkgname"
    go build \
        -gcflags "all=-trimpath=$PWD" \
        -asmflags "all=-trimpath=$PWD" \
        -ldflags "-extldflags $LDFLAGS" \
        -o $_pkgname .
}

package() {
    cd "$srcdir/$_pkgname"
    install -Dm755 "aerc2" "$pkgdir/usr/bin/aerc2"
    install -Dm644 "config/accounts.conf" "$pkgdir/usr/share/doc/aerc2/accounts.conf"
    install -Dm644 "config/aerc.conf" "$pkgdir/usr/share/doc/aerc2/aerc.conf"
    install -Dm644 "config/binds.conf" "$pkgdir/usr/share/doc/aerc2/binds.conf"

    # install contrib scripts
    install -Dm755 -d "$pkgdir/usr/share/aerc2"
    cp contrib/* "$pkgdir/usr/share/aerc2/"
}

ReedWade commented on 2019-03-22 09:40

aerc is officialy moved to : https://git.sr.ht/~sircmpwn/aerc2

null commented on 2017-05-20 09:42

thanks. just had a bit time to try the build again after it failed last time. community/libtsm should be a dependency aswell ;)

Also this build creates a /aecr folder in the root file system. No go!

null commented on 2017-04-30 12:01

Shouldn't cmake be a build dependency? It isn't in base-devel.

buttcake commented on 2016-10-27 10:10

Build currently fails:

% makepkg
==> Making package: aerc-git r183.fef5146-1 (Thu Oct 27 12:08:18 CEST 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating aerc-git git repo...
Fetching origin
==> Validating source files with md5sums...
aerc-git ... Skipped
==> Extracting sources...
-> Creating working copy of aerc git repo...
Reset branch 'makepkg'
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
mkdir: cannot create directory ‘build’: File exists
==> ERROR: A failure occurred in build().
Aborting...