community/todo.txt-cli: fix source url and modernize

This commit is contained in:
Roberto Oliveira 2017-11-04 00:05:08 +00:00
parent a26dd7cff7
commit 3eadf50caa

View File

@ -2,23 +2,16 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=todo.txt-cli
pkgver=2.10
pkgrel=1
pkgrel=2
pkgdesc="A simple and extensible shell script for managing your todo.txt file."
url="https://github.com/ginatrapani/todo.txt-cli"
url="https://github.com/todotxt/todo.txt-cli"
arch="noarch"
license="GPL"
depends="bash"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-bash-completion:bashcomp $pkgname-doc"
source="https://github.com/ginatrapani/$pkgname/releases/download/v${pkgver}/${pkgname/-/_}-$pkgver.tar.gz"
source="https://github.com/todotxt/$pkgname/releases/download/v2.10.0/${pkgname/-/_}-$pkgver.tar.gz"
builddir="$srcdir"/${pkgname/-/_}-$pkgver
build() {
cd "$builddir"
return 0
}
package() {
cd "$builddir"
@ -46,6 +39,4 @@ bashcomp() {
}
md5sums="d90098b5f031d117faf129a4c90e812d todo.txt_cli-2.10.tar.gz"
sha256sums="b59417a26feeafd811e0f1ff17e85e69ac5bcb1a0544b736f539ffb8fe27f6a9 todo.txt_cli-2.10.tar.gz"
sha512sums="98eb2bdcfb4e76f9313958e46eb8c9c8b68f06fb498b0b43eeb0d9e616a0c9944454fe00a45d6af89e51420f953c624f9e4c969127d478e3f2e76cc9a400d459 todo.txt_cli-2.10.tar.gz"