blob: ff98d7f178f993b0822ddf0657c0541c59a60b05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: Charles Milette <charles.milette@gmail.com>
_gitname=todo
pkgname=${_gitname}-dot-sh-git
pkgver=r30.f85e5af
pkgrel=1
pkgdesc="A bash script that manages todo lists in ~/.todo"
arch=('any')
url="https://github.com/simoniz0r/${_gitname}"
license=('GPL2')
source=("git://github.com/simoniz0r/${_gitname}.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_gitname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/${_gitname}"
install -Dm755 todo.sh "${pkgdir}/usr/bin/todo"
}
|