summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwillemw122021-06-17 17:29:28 +0200
committerwillemw122021-06-17 17:29:28 +0200
commit55fc64154c2f8bcf1907cdf69a10fc8753628054 (patch)
tree888252a158720f540bb1f84734032f227a1705dd
parent6756cba1c0b88c1f5504d6f7c17a8b0da9f4e3ff (diff)
downloadaur-55fc64154c2f8bcf1907cdf69a10fc8753628054.tar.gz
Add git to makedepends
Change the install message
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD3
-rw-r--r--todotxt.install7
3 files changed, 6 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index afd7fefba933..77c03df6b590 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,12 @@
pkgbase = todotxt
pkgdesc = Simple and extensible shell script for managing your todo.txt file
pkgver = 2.12.0.post1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/todotxt/todo.txt-cli
install = todotxt.install
arch = any
license = GPL3
+ makedepends = git
source = todotxt-2.12.0.post1::git+https://github.com/todotxt/todo.txt-cli.git#commit=77c1f34609070135143f29395edc647a2d308311
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 50e332e56692..7dc8c9bd852d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,11 +7,12 @@
pkgname=todotxt
#pkgver=2.12.0
pkgver=2.12.0.post1
-pkgrel=1
+pkgrel=2
pkgdesc="Simple and extensible shell script for managing your todo.txt file"
arch=('any')
url="https://github.com/todotxt/todo.txt-cli"
license=('GPL3')
+makedepends=('git')
install=$pkgname.install
#source=(https://github.com/todotxt/todo.txt-cli/releases/download/v$pkgver/$_srcname-$pkgver.tar.gz)
#source=($_srcname-$pkgver::https://github.com/todotxt/$_srcname/archive/refs/tags/v$pkgver.tar.gz)
diff --git a/todotxt.install b/todotxt.install
index e0d400f8e869..697d87f4ec74 100644
--- a/todotxt.install
+++ b/todotxt.install
@@ -1,7 +1,4 @@
-# arg 1: the new package version
post_install() {
- echo
- echo "Please copy the file /usr/share/todotxt/todo.cfg to ~/.todo/config"
- echo "and then edit the TODO_DIR path in that file to your desired todo data directory."
- echo
+ echo "==> To change the default configuration, copy /etc/todo/config to, for example,"
+ echo " ~/.config/todo/config or ~/.todo/config and modify the file."
}