Package Details: aerc-git 0.15.2.r131.ga5d6a70-1

Git Clone URL: https://aur.archlinux.org/aerc-git.git (read-only, click to copy)
Package Base: aerc-git
Description: Email Client for your Terminal
Upstream URL: https://aerc-mail.org/
Keywords: email mail mua terminal tui
Licenses: MIT
Conflicts: aerc
Provides: aerc
Submitter: aksr
Maintainer: mpldr
Last Packager: mpldr
Votes: 12
Popularity: 0.000044
First Submitted: 2016-10-08 06:42 (UTC)
Last Updated: 2023-08-13 09:36 (UTC)

Dependencies (6)

Required by (1)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7

rumpelsepp commented on 2019-04-28 19:37 (UTC) (edited on 2019-04-29 16:51 (UTC) by rumpelsepp)

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/"
}

StacyHarper commented on 2019-03-22 09:40 (UTC)

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

null commented on 2017-05-20 09:42 (UTC) (edited on 2017-05-20 10:04 (UTC) by null)

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 (UTC)

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

buttcake commented on 2016-10-27 10:10 (UTC)

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