summaryrefslogtreecommitdiff
path: root/pcr/california
diff options
context:
space:
mode:
authorAurelien Desbrieres <aurelien@hackers.camp>2014-12-15 14:39:39 +0100
committerAurelien Desbrieres <aurelien@hackers.camp>2014-12-15 14:39:39 +0100
commit6958e1a24fe01cc8583824b3bb0a86023f44e27c (patch)
tree0e68005a784b8cb2382491372fc04a99f8ed0094 /pcr/california
parente0aaa77bb5601c8b62b9443f3f33c7e2c8f2b66a (diff)
downloadabslibre-6958e1a24fe01cc8583824b3bb0a86023f44e27c.tar.gz
abslibre-6958e1a24fe01cc8583824b3bb0a86023f44e27c.tar.bz2
abslibre-6958e1a24fe01cc8583824b3bb0a86023f44e27c.zip
A new calendar application for GNOME 3. It is currently under heavy development.
Diffstat (limited to 'pcr/california')
-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
+}