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

Orhun Parmaksiz orhun at gemini.archlinux.org
Sat Nov 6 18:17:32 UTC 2021


    Date: Saturday, November 6, 2021 @ 18:17:32
  Author: orhun
Revision: 1037675

archrelease: copy trunk to community-x86_64

Added:
  taskwarrior-tui/repos/community-x86_64/PKGBUILD
    (from rev 1037674, taskwarrior-tui/trunk/PKGBUILD)
Deleted:
  taskwarrior-tui/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   95 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 49 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-06 18:17:17 UTC (rev 1037674)
+++ PKGBUILD	2021-11-06 18:17:32 UTC (rev 1037675)
@@ -1,46 +0,0 @@
-# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
-
-pkgname=taskwarrior-tui
-pkgver=0.14.6
-pkgrel=1
-pkgdesc="A terminal user interface for taskwarrior"
-arch=('x86_64')
-url="https://github.com/kdheepak/taskwarrior-tui"
-license=('MIT')
-depends=('task')
-makedepends=('rust' 'git' 'pandoc')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
-        "git+https://github.com/kdheepak/taskwarrior-testdata")
-sha256sums=('3e36a23c67c1163a611f6841498459911307a63987aab4af03b16ed5b33d28f6'
-            'SKIP')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-  cargo fetch --locked
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  cargo build --release --frozen --all-features
-  pandoc "docs/$pkgname.1.md" --standalone --to=man -o "docs/$pkgname.1"
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  export TASKRC="../taskwarrior-testdata/.taskrc"
-  export TASKDATA="../taskwarrior-testdata/.task"
-  cargo test --frozen --all-features
-}
-
-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 "docs/$pkgname.1" -t "$pkgdir/usr/share/man/man1"
-  install -Dm 644 "completions/$pkgname.bash" "${pkgdir}/usr/share/bash-completion/completions/$pkgname"
-  install -Dm 644 "completions/$pkgname.fish" -t "${pkgdir}/usr/share/fish/vendor_completions.d"
-  install -Dm 644 "completions/_$pkgname" -t "${pkgdir}/usr/share/zsh/site-functions"
-}
-
-# vim: ts=2 sw=2 et:

Copied: taskwarrior-tui/repos/community-x86_64/PKGBUILD (from rev 1037674, taskwarrior-tui/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-06 18:17:32 UTC (rev 1037675)
@@ -0,0 +1,49 @@
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+
+pkgname=taskwarrior-tui
+pkgver=0.14.8
+pkgrel=1
+pkgdesc="A terminal user interface for taskwarrior"
+arch=('x86_64')
+url="https://github.com/kdheepak/taskwarrior-tui"
+license=('MIT')
+depends=('task')
+makedepends=('rust' 'git' 'pandoc')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
+        "git+https://github.com/kdheepak/taskwarrior-testdata"
+        "$pkgname-$pkgver-fix-tests.patch::$url/commit/425facb8b0c8e52af0e2b88a3363e71658b47b2f.patch")
+sha256sums=('b04634eb37509443415bb44226dfee46d29c159d5ab99697b3c71e1d2cc72008'
+            'SKIP'
+            'af0b0622512b53ddcf3aa01520d6e9a09959e61c4d2be94ac27466585849ffed')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  cargo fetch --locked
+  patch -Np1 < "../$pkgname-$pkgver-fix-tests.patch"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  cargo build --release --frozen --all-features
+  pandoc "docs/$pkgname.1.md" --standalone --to=man -o "docs/$pkgname.1"
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export TASKRC="../taskwarrior-testdata/.taskrc"
+  export TASKDATA="../taskwarrior-testdata/.task"
+  cargo test --frozen --all-features
+}
+
+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 "docs/$pkgname.1" -t "$pkgdir/usr/share/man/man1"
+  install -Dm 644 "completions/$pkgname.bash" "${pkgdir}/usr/share/bash-completion/completions/$pkgname"
+  install -Dm 644 "completions/$pkgname.fish" -t "${pkgdir}/usr/share/fish/vendor_completions.d"
+  install -Dm 644 "completions/_$pkgname" -t "${pkgdir}/usr/share/zsh/site-functions"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list