diff options
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 18 insertions, 10 deletions
@@ -1,14 +1,15 @@ pkgbase = himalaya-git pkgdesc = Minimalist CLI email client, written in Rust. - pkgver = r249.767eee9 - pkgrel = 2 + pkgver = r388.bda37ca + pkgrel = 1 url = https://github.com/soywod/himalaya - arch = any - license = BSD + arch = x86_64 + license = MIT makedepends = cargo makedepends = git depends = gcc-libs depends = openssl + optdepends = notmuch-runtime: notmuch backend through cargo features provides = himalaya conflicts = himalaya source = himalaya::git+https://github.com/soywod/himalaya @@ -1,14 +1,15 @@ # Maintainer: Emilio Reggi <nag@mailbox.org> pkgname=himalaya-git _pkgname=himalaya -pkgver=r249.767eee9 -pkgrel=2 +pkgver=r388.bda37ca +pkgrel=1 pkgdesc="Minimalist CLI email client, written in Rust." -arch=('any') +arch=('x86_64') url="https://github.com/soywod/himalaya" -license=('BSD') +license=('MIT') depends=('gcc-libs' 'openssl') makedepends=('cargo' 'git') +optdepends=('notmuch-runtime: notmuch backend through cargo features') provides=("${_pkgname}") conflicts=("${_pkgname}") source=("${_pkgname}"::"git+${url}") @@ -19,14 +20,20 @@ pkgver() { printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } +prepare() { + cd "$_pkgname" + cargo update + cargo fetch --locked --target "$CARCH-unknown-linux-gnu" +} + build() { cd "$_pkgname" - RUSTUP_TOOLCHAIN=stable cargo build --release --locked --all-features --target-dir=target + RUSTUP_TOOLCHAIN=stable cargo build --release --frozen --features default --target-dir=target } check() { cd "$_pkgname" - RUSTUP_TOOLCHAIN=stable cargo test --frozen --all-features + RUSTUP_TOOLCHAIN=stable cargo test --frozen --features default } package() { |