blob: c602cb76563876c6db75cedf8c824e6d12808e8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Contributor: Stefan Tatschner <stefan@rumpelsepp.org>
pkgname=meli
pkgver=0.8.2
pkgrel=1
pkgdesc='A MUA for the terminal aiming for configurability and extensibility with sane defaults'
arch=(x86_64)
url=https://meli.delivery/
license=(GPL)
depends=(dbus-glib)
makedepends=(cargo
mandoc)
source=("$pkgname-$pkgver.tag.gz::https://git.meli.delivery/meli/meli/archive/v$pkgver.tar.gz")
sha256sums=('9b42d0f10016457aabfa2feb5fdcf0b35f4a429c5b0e10f9bda4ba769951bdcf')
build() {
cd "$pkgname"
cargo build --release --locked --features 'dbus-notifications jmap'
}
package() {
cd "$pkgname"
install -Dm0755 -t "$pkgdir/usr/bin/" target/release/meli
install -Dm0644 -t "$pkgdir/usr/share/man/man1/" meli/docs/meli.1
install -Dm0644 -t "$pkgdir/usr/share/man/man5/" meli/docs/meli.conf.5
install -Dm0644 -t "$pkgdir/usr/share/man/man5/" meli/docs/meli-themes.5
}
|