diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/calcurse | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/calcurse')
-rw-r--r-- | community/calcurse/PKGBUILD | 29 | ||||
-rw-r--r-- | community/calcurse/calcurse.install | 8 |
2 files changed, 37 insertions, 0 deletions
diff --git a/community/calcurse/PKGBUILD b/community/calcurse/PKGBUILD new file mode 100644 index 000000000..ca8e0f98b --- /dev/null +++ b/community/calcurse/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 84062 2013-02-09 16:21:30Z 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=1 +pkgdesc='A text-based personal organizer.' +arch=('i686' 'x86_64') +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 +} diff --git a/community/calcurse/calcurse.install b/community/calcurse/calcurse.install new file mode 100644 index 000000000..7ed9cf00e --- /dev/null +++ b/community/calcurse/calcurse.install @@ -0,0 +1,8 @@ +post_upgrade() { + if (( $(vercmp $2 3.0.0) < 0 )); then + cat <<"EOF" +==> The configuration file format has changed in calcurse 3.0.0. +==> Run `calcurse-upgrade` to upgrade your configuration files. +EOF + fi +} |