[arch-commits] Commit in taskwarrior-tui/repos/community-x86_64 (PKGBUILD PKGBUILD)
Orhun Parmaksiz
orhun at gemini.archlinux.org
Thu Dec 2 21:31:18 UTC 2021
Date: Thursday, December 2, 2021 @ 21:31:18
Author: orhun
Revision: 1062576
archrelease: copy trunk to community-x86_64
Added:
taskwarrior-tui/repos/community-x86_64/PKGBUILD
(from rev 1062575, taskwarrior-tui/trunk/PKGBUILD)
Deleted:
taskwarrior-tui/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 91 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-02 21:31:07 UTC (rev 1062575)
+++ PKGBUILD 2021-12-02 21:31:18 UTC (rev 1062576)
@@ -1,46 +0,0 @@
-# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
-
-pkgname=taskwarrior-tui
-pkgver=0.15.0
-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')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
- "git+https://github.com/kdheepak/taskwarrior-testdata")
-sha256sums=('9f8ed1257ab6d4608dd73f61ee8542ff3b1b112d201b746c1ba90aa939c1c8ed'
- 'SKIP')
-
-prepare() {
- cd "$pkgname-$pkgver"
- cargo fetch --locked
-}
-
-build() {
- cd "$pkgname-$pkgver"
- cargo build --release --frozen --all-features
-}
-
-# 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 1062575, taskwarrior-tui/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-02 21:31:18 UTC (rev 1062576)
@@ -0,0 +1,45 @@
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+
+pkgname=taskwarrior-tui
+pkgver=0.15.1
+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')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
+ "git+https://github.com/kdheepak/taskwarrior-testdata")
+sha256sums=('17df007cc431427ef9118eca2e50070cdec3b51d50279cbade4a7dafd9edd8a8'
+ 'SKIP')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ cargo fetch --locked
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ cargo build --release --frozen --all-features
+}
+
+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