summaryrefslogtreecommitdiff
path: root/pcr/california/PKGBUILD
blob: 30de1892c341668f5629248e08b1aaefc5c2a8d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
}