upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / calcurse / repos / community-x86_64 / PKGBUILD
blobf068b50a1d52925419d8fde01cc7cfb1602371fa
1 # Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
2 # Contributor: Ronald van Haren <ronald.archlinux.org>
3 # Contributor: wain <wain.at.gmx.net>
5 pkgname=calcurse
6 pkgver=4.8.0
7 pkgrel=2
8 pkgdesc='A text-based personal organizer'
9 arch=('x86_64')
10 url='https://calcurse.org/'
11 license=('BSD')
12 depends=('ncurses')
13 optdepends=(
14   'python: for CalDAV support'
15   'python-httplib2: for CalDAV support'
16   'python-pyparsing: for CalDAV support'
17   'python-oauth2client: for Google Calendar support'
19 source=("https://calcurse.org/files/${pkgname}-${pkgver}.tar.gz"{,.asc})
20 sha512sums=('ea156c4320abf97fdb5abc29ff1f9bc659a3cab0e571295ed04b42dd742c4c45a7d5958dc2d386fc0ee7bd733969a6275405d5cf10cd645c75cb97b6b9e571d6'
21             'SKIP')
22 b2sums=('3fc703626d5e17b78ff42c0ef4f554585efd8223c2bd9d8c2f7add681602dc585cf066ed7c55a040b2585ad07513b26a5297b3b41f4c94a043f61ad2ad9094c2'
23         'SKIP')
24 validpgpkeys=('2E36D8620221482FC45CB7F2A91764759326B440') # Lukas Fleischer <lfleischer@calcurse.org>
26 build() {
27   cd "$pkgname-$pkgver"
29   ./configure \
30     --enable-docs \
31     --without-asciidoc \
32     --prefix=/usr \
33     --mandir=/usr/share/man
35   make
38 check() {
39   cd "$pkgname-$pkgver"
40   make check
43 package() {
44   cd "$pkgname-$pkgver"
46   make DESTDIR="$pkgdir" install
48   install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" COPYING