diff options
Diffstat (limited to 'community/calcurse')
-rw-r--r-- | community/calcurse/PKGBUILD | 9 | ||||
-rw-r--r-- | community/calcurse/calcurse.install | 8 |
2 files changed, 13 insertions, 4 deletions
diff --git a/community/calcurse/PKGBUILD b/community/calcurse/PKGBUILD index 428ab6e1a..674df679f 100644 --- a/community/calcurse/PKGBUILD +++ b/community/calcurse/PKGBUILD @@ -1,18 +1,19 @@ -# $Id: PKGBUILD 64641 2012-02-17 13:26:11Z lfleischer $ +# $Id: PKGBUILD 73083 2012-06-30 14:19:55Z 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=2.9.2 -pkgrel=2 +pkgver=3.0.0 +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") -md5sums=('5cb7d9c9edddc551fc62c9c5733591c5') +md5sums=('3e25d04afeecd8f21e064e8b1db8f02b') build() { cd "${srcdir}/${pkgname}-${pkgver}" 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 +} |