blob: e303d6eb294c70e7b002552444f3db8768f3bf26 (
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
34
35
36
|
# Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
# Contributor: Sam Stuewe <halosghost at archlinux dot info>
_name='calcurse'
pkgname="${_name}-git"
pkgver=4.6.0.1914.5a3664b
pkgrel=1
pkgdesc='A text-based personal organizer (Git version).'
arch=('i686' 'x86_64')
url='https://calcurse.org/'
license=('BSD')
depends=('ncurses')
makedepends=('git' 'asciidoc')
provides=('calcurse')
conflicts=('calcurse')
source=("git+https://git.calcurse.org/calcurse.git/")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_name}"
printf '%s.%s.%s' "$(git describe HEAD | cut -d 'v' -f2 | cut -d '-' -f1)" \
"$(git rev-list --count HEAD)" "$(git log -1 --pretty=format:%h)"
}
build() {
cd "${srcdir}/${_name}"
./autogen.sh
./configure --prefix=/usr --mandir=/usr/share/man
make
}
package() {
cd "${srcdir}/${_name}"
make DESTDIR="${pkgdir}" install
}
|