[arch-commits] Commit in taskwarrior-tui/repos/community-x86_64 (PKGBUILD PKGBUILD)
Orhun Parmaksiz
orhun at gemini.archlinux.org
Mon Nov 1 18:20:04 UTC 2021
Date: Monday, November 1, 2021 @ 18:20:04
Author: orhun
Revision: 1035226
archrelease: copy trunk to community-x86_64
Added:
taskwarrior-tui/repos/community-x86_64/PKGBUILD
(from rev 1035225, taskwarrior-tui/trunk/PKGBUILD)
Deleted:
taskwarrior-tui/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 93 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-01 18:19:51 UTC (rev 1035225)
+++ PKGBUILD 2021-11-01 18:20:04 UTC (rev 1035226)
@@ -1,47 +0,0 @@
-# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
-
-pkgname=taskwarrior-tui
-pkgver=0.14.4
-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=('7e8c561b6d45c7b11545fbdb47bdc2c048cfda088e9de77a37191839acdd6d83'
- '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"
-}
-
-# https://github.com/kdheepak/taskwarrior-tui/issues/277
-#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 1035225, taskwarrior-tui/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-01 18:20:04 UTC (rev 1035226)
@@ -0,0 +1,46 @@
+# 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:
More information about the arch-commits
mailing list