blob: fccef7f9d13d00bc6631c40c42f2412cc7215aee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Gregory Dushkin (GregTheMadMonk) <yagreg7@gmail.com>
pkgname=noaftodo-git
pkgver=1.4.2r243.6261a4a
pkgrel=4
pkgdesc="An ncurses TODO manager that No-One-Asked-For."
arch=(x86_64 i686)
url="https://github.com/gregthemadmonk/noaftodo.git"
license=('GPL3')
depends=(ncurses)
makedepends=(git make sed)
optdepends=('libnotify: provides notify-send commandused in default config'
'dunst: possible notification daemon for notify-send to work')
source=("git+$url#branch=pkg")
changelog=CHANGELOG
md5sums=('SKIP')
pkgver() {
cd noaftodo
printf "${pkgver}r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd noaftodo
V_SUFFIX="AURr$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" make
}
package() {
cd noaftodo
PKGROOT="$pkgdir" make install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 noaftodo.conf.template -t "$pkgdir/etc/$pkgname"
install -Dm644 scripts/* -t "$pkgdir/etc/$pkgname/scripts"
}
|