[arch-commits] Commit in himalaya/repos (community-x86_64 community-x86_64/PKGBUILD)

Orhun Parmaksiz orhun at archlinux.org
Thu Jun 3 14:50:24 UTC 2021


    Date: Thursday, June 3, 2021 @ 14:50:24
  Author: orhun
Revision: 955689

archrelease: copy trunk to community-x86_64

Added:
  himalaya/repos/community-x86_64/
  himalaya/repos/community-x86_64/PKGBUILD
    (from rev 955688, himalaya/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: himalaya/repos/community-x86_64/PKGBUILD (from rev 955688, himalaya/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2021-06-03 14:50:24 UTC (rev 955689)
@@ -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