summaryrefslogtreecommitdiff
path: root/community/calcurse/PKGBUILD
blob: 022164a963137c9cd482a242cf9a6002fdaf17aa (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
# $Id: PKGBUILD 95853 2013-08-17 15:15:02Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Ronald van Haren <ronald.archlinux.org>
# Contributor: wain <wain.at.gmx.net>

pkgname=calcurse
pkgver=3.1.4
pkgrel=2
pkgdesc='A text-based personal organizer.'
arch=('i686' 'x86_64' 'mips64el')
url='http://calcurse.org/'
license=('BSD')
depends=('ncurses')
install='calcurse.install'
source=("http://calcurse.org/files/${pkgname}-${pkgver}.tar.gz"{,.asc})
md5sums=('e354bdb7636daffa99ffb98534d04cb2'
         '44baaf17198e2fd75d2d160dedee814f')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --enable-docs --without-asciidoc --prefix=/usr --mandir=/usr/share/man
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}" install

  install -Dm0644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}