summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/california/PKGBUILD28
-rw-r--r--pcr/california/california.install15
2 files changed, 43 insertions, 0 deletions
diff --git a/pcr/california/PKGBUILD b/pcr/california/PKGBUILD
new file mode 100644
index 000000000..30de1892c
--- /dev/null
+++ b/pcr/california/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp>
+# Maintainer: Martin Poehlmann <mpdeimos@outlook.com>
+
+pkgname=california
+pkgver=0.3.0
+pkgrel=1
+pkgdesc='A new calendar application for GNOME 3. It is currently under heavy development.'
+arch=('i686' 'x86_64')
+url="https://wiki.gnome.org/Apps/California"
+license=('LGPL2.1')
+depends=('evolution-data-server' 'libgee' 'gobject-introspection' 'xdg-utils')
+makedepends=('vala' 'intltool' 'gnome-common' 'yelp-tools')
+install="${pkgname}.install"
+source=('https://download.gnome.org/sources/california/0.3/california-0.3.0.tar.xz')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr
+ sed -i 's#californiadocdir = ${prefix}#californiadocdir = ${datadir}#g' Makefile
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make install DESTDIR="$pkgdir"
+ install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
diff --git a/pcr/california/california.install b/pcr/california/california.install
new file mode 100644
index 000000000..7ef8a2936
--- /dev/null
+++ b/pcr/california/california.install
@@ -0,0 +1,15 @@
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -ftq usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_upgrade()
+{
+ post_install
+}
+
+post_remove()
+{
+ post_install
+}