Package Details: meli-git 0.6.2.r236.gb085703-3

Git Clone URL: https://aur.archlinux.org/meli-git.git (read-only, click to copy)
Package Base: meli-git
Description: experimental terminal mail client
Upstream URL: https://meli.delivery
Licenses: GPL3
Conflicts: meli
Provides: meli=0.6.2.r236.gb085703
Submitter: aereaux
Maintainer: alerque
Last Packager: alerque
Votes: 3
Popularity: 0.34
First Submitted: 2019-07-18 03:46
Last Updated: 2021-08-05 21:37

Latest Comments

aereaux commented on 2021-08-02 21:20

I haven't used or updated this package in quite a while, feel free to make any changes/improvements you think would be useful.

alerque commented on 2021-08-02 21:10

Somehow I missed this build while searching and ended up making my own—only to find this in the way. I had a look and unfortunately there is a small litany of things wrong with this. You are missing some dependencies needed for a clean build, missing some Rust tweaks, the version scheme doesn't work with vercmp, and so on. Would you please consider adding me as a co-maintainer and I'll get this fixed up? For reference here is my working PKGBUILD:

# Maintainer: Caleb Maclennan <caleb@alerque.com>

pkgname=meli-git
pkgver=0.6.2.r236.gb085703
pkgrel=1
pkgdesc='experimental terminal mail client'
arch=(x86_64)
url=https://meli.delivery
license=(GPL3)
depends=(curl
         dbus
         pcre2
         sqlite)
makedepends=(git
             mandoc
             rust)
provides=("${pkgname%-git}=$pkgver")
conflicts=("${pkgname%-git}")
source=("git+https://git.meli.delivery/meli/meli.git")
sha256sums=('SKIP')

pkgver() {
    cd "${pkgname%-git}"
    git describe --long --tags --abbrev=7 --tags HEAD |
        sed 's/^\(pre\)\?-\?\(v\|alpha\|beta\|rc\)\?-\?//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

prepare() {
    cd "${pkgname%-git}"
    cargo fetch --locked
}

build() {
    cd "${pkgname%-git}"
    cargo build --offline --release --all-features
}

package() {
    cd "${pkgname%-git}"
    install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/${pkgname%-git}"
}