[arch-commits] Commit in (4 files)
Orhun Parmaksiz
orhun at archlinux.org
Thu Jun 3 14:50:09 UTC 2021
Date: Thursday, June 3, 2021 @ 14:50:08
Author: orhun
Revision: 955688
addpkg: himalaya 0.4.0-1
Added:
himalaya/
himalaya/repos/
himalaya/trunk/
himalaya/trunk/PKGBUILD
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Added: himalaya/trunk/PKGBUILD
===================================================================
--- himalaya/trunk/PKGBUILD (rev 0)
+++ himalaya/trunk/PKGBUILD 2021-06-03 14:50:08 UTC (rev 955688)
@@ -0,0 +1,33 @@
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+
+pkgname=himalaya
+pkgver=0.4.0
+pkgrel=1
+pkgdesc="Minimalist CLI email client"
+arch=('x86_64')
+url="https://github.com/soywod/himalaya"
+license=('BSD')
+depends=('gcc-libs' 'openssl')
+makedepends=('rust')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('abf3559b1f12c04761f0707cf5b3913afd76a6b1f05de22e2a936d7bbde64aa1fe8854216f7165af33acc615c7fa7f419c17ed9efd6b99bd8a8e51276d422ade')
+
+build() {
+ cd "$pkgname-$pkgver"
+ cargo build --release --locked
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ cargo test --release --locked --lib
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
+ install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+ install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+ install -Dm 644 "assets/$pkgname.desktop" -t "$pkgdir/usr/share/applications"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list