blob: a31d6c988e423c987b1c3972660a4faf59b8ef2b (
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
|
# Maintainer: Douglas Creager <dcreager@dcreager.net>
pkgname=nereusx-notes-git
pkgver=r131.a4f0a4e
pkgrel=1
pkgdesc="Plane-text notes manager, CLI and TUI"
arch=("x86_64")
url="https://github.com/nereusx/notes"
license=('GPL-3.0')
depends=('ncurses')
makedepends=('git' 'gzip' 'md2roff')
provides=('nereusx-notes')
conflicts=('nereusx-notes')
source=("${pkgname}::git+https://github.com/nereusx/notes")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${pkgname}"
make
}
package() {
cd "${srcdir}/${pkgname}"
make DESTDIR="$pkgdir" prefix=/usr install
}
|