Date: Wednesday, October 19, 2022 @ 09:03:14
Author: alerque
Revision: 1332846
archrelease: copy trunk to community-x86_64
Added:
himalaya/repos/community-x86_64/PKGBUILD
(from rev 1332845, himalaya/trunk/PKGBUILD)
Deleted:
himalaya/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 108 +++++++++++++++++++++++++++----------------------------------
1 file changed, 49 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-10-19 09:01:17 UTC (rev 1332845)
+++ PKGBUILD 2022-10-19 09:03:14 UTC (rev 1332846)
@@ -1,59 +0,0 @@
-# Maintainer: Orhun Parmaksız <[email protected]>
-# Maintainer: Caleb Maclennan <[email protected]>
-
-pkgbase=himalaya
-pkgname=('himalaya' 'vim-himalaya')
-pkgver=0.5.10
-pkgrel=1
-pkgdesc="A CLI email client"
-arch=('x86_64')
-url="https://github.com/soywod/himalaya"
-license=('BSD')
-depends=('gcc-libs' 'notmuch' 'openssl')
-makedepends=('cargo')
-source=("$pkgbase-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('0180ad71499109be65554a8176bffbad5c63f092b88b80bb8e82426dbc397c23f271ef4cc05fa42338a4671aca50b5ba9fd8eef7e78eef04533e7a35ee925550')
-
-prepare() {
- cd "$pkgbase-$pkgver"
- cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
- mkdir -p completions
-}
-
-build() {
- cd "$pkgbase-$pkgver"
- cargo build --frozen --release --features notmuch-backend
- local _completion="target/release/$pkgbase completion"
- $_completion bash > "completions/$pkgbase"
- $_completion fish > "completions/$pkgbase.fish"
- $_completion zsh > "completions/_$pkgbase"
-}
-
-check() {
- cd "$pkgbase-$pkgver"
- cargo test --frozen --features notmuch-backend -- --skip "test_imap_backend"
-}
-
-package_himalaya() {
- cd "$pkgbase-$pkgver"
- install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
- install -Dm 664 "completions/$pkgname" -t
"$pkgdir/usr/share/bash-completion/completions/"
- install -Dm 664 "completions/$pkgname.fish" -t
"$pkgdir/usr/share/fish/vendor_completions.d/"
- install -Dm 664 "completions/_$pkgname" -t
"$pkgdir/usr/share/zsh/site-functions/"
- 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"
-}
-
-package_vim-himalaya() {
- depends=('vim-plugin-runtime' 'himalaya')
- pkgdesc+=' - Vim UI plugin'
-
- cd "$pkgbase-$pkgver/vim/"
- find autoload doc ftplugin lua plugin syntax \
- -type f -exec install -Dm 644 '{}' "$pkgdir/usr/share/vim/vimfiles/{}" \;
- install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
- install -Dm 644 ../LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: himalaya/repos/community-x86_64/PKGBUILD (from rev 1332845,
himalaya/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-10-19 09:03:14 UTC (rev 1332846)
@@ -0,0 +1,49 @@
+# Maintainer: Orhun Parmaksız <[email protected]>
+# Maintainer: Caleb Maclennan <[email protected]>
+
+pkgname=himalaya
+pkgver=0.6.1
+pkgrel=1
+pkgdesc="A CLI email client"
+arch=('x86_64')
+url="https://github.com/soywod/himalaya"
+license=('BSD')
+depends=('gcc-libs' 'notmuch' 'openssl')
+makedepends=('cargo')
+source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('ffcf4e487b4a20a573b336775e727ce7124e2a0b9027709aa8c3a1d192d27d40a05b37330f9954958a6854481b0f7e9430d4daf66b164884a5532eec6f34ce78')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ # Repair broken lockfile in 0.6.1:
https://github.com/soywod/himalaya/issues/417
+ cargo update
+ cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+ mkdir -p completions
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ cargo build --frozen --release --features notmuch-backend
+ local _completion="target/release/$pkgname completion"
+ $_completion bash > "completions/$pkgname"
+ $_completion fish > "completions/$pkgname.fish"
+ $_completion zsh > "completions/_$pkgname"
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ cargo test --frozen --features notmuch-backend -- --skip "test_imap_backend"
+}
+
+package_himalaya() {
+ cd "$pkgname-$pkgver"
+ install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
+ install -Dm 664 "completions/$pkgname" -t
"$pkgdir/usr/share/bash-completion/completions/"
+ install -Dm 664 "completions/$pkgname.fish" -t
"$pkgdir/usr/share/fish/vendor_completions.d/"
+ install -Dm 664 "completions/_$pkgname" -t
"$pkgdir/usr/share/zsh/site-functions/"
+ 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: