summaryrefslogtreecommitdiff
path: root/nonprism
diff options
context:
space:
mode:
Diffstat (limited to 'nonprism')
-rw-r--r--nonprism/california/PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/nonprism/california/PKGBUILD b/nonprism/california/PKGBUILD
index b7ed3badb..3124bd14d 100644
--- a/nonprism/california/PKGBUILD
+++ b/nonprism/california/PKGBUILD
@@ -4,13 +4,12 @@
pkgname=california
pkgver=0.4.0
-pkgrel=3.nonprism1
+pkgrel=4.nonprism1
pkgdesc='A new calendar application for GNOME 3. It is currently under heavy development, without Google Calendar support'
arch=('i686' 'x86_64' 'armv7h')
url="https://wiki.gnome.org/Apps/California"
license=('LGPL2.1')
depends=('evolution-data-server' 'libgee' 'xdg-utils' "libical>=3" "libical<4")
-depends+=("icu>=63" "icu<64")
makedepends=('vala' 'intltool' 'gnome-common' 'yelp-tools' 'gobject-introspection' 'patch')
install="${pkgname}.install"
source=('https://download.gnome.org/sources/california/0.4/california-0.4.0.tar.xz'
@@ -56,6 +55,10 @@ build() {
}
package() {
+ local _icu_ver
+ _icu_ver=$(pacman -S --print-format='%v' icu)
+ depends+=("icu>=${_icu_ver}" "icu<$((${_icu_ver%%.*} + 1))")
+
cd "${srcdir}/${pkgname}-${pkgver}"
make install DESTDIR="$pkgdir"
install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE