diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-09-25 19:35:27 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-09-25 19:35:27 -0300 |
commit | f3777bd54a28b061955aeb421b7f2168a1f6b639 (patch) | |
tree | 164a1a199d2a7f5998e79bf2d6fd3f9f3c72e8d6 /nonprism/california/PKGBUILD | |
parent | 7fa9f8b32f957e1d49db7c7114697baae4adea85 (diff) |
california: add new package to [nonprism] -> https://labs.parabola.nu/issues/809
Diffstat (limited to 'nonprism/california/PKGBUILD')
-rw-r--r-- | nonprism/california/PKGBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/nonprism/california/PKGBUILD b/nonprism/california/PKGBUILD new file mode 100644 index 000000000..7735e0f9e --- /dev/null +++ b/nonprism/california/PKGBUILD @@ -0,0 +1,49 @@ +# Maintainer (Arch): Martin Poehlmann <mpdeimos@outlook.com> +# Maintainer: Aurelien Desbrieres <aurelien@hackers.camp> +# Maintainer: André Silva <emulatorman@parabola.nu> + +pkgname=california +pkgver=0.4.0 +pkgrel=2.1.nonprism1 +pkgdesc='A new calendar application for GNOME 3. It is currently under heavy development, without Google Calendar support' +arch=('i686' 'x86_64') +url="https://wiki.gnome.org/Apps/California" +license=('LGPL2.1') +depends=('evolution-data-server' 'libgee' 'xdg-utils') +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' 'http://pkgs.fedoraproject.org/cgit/california.git/plain/0002-Build-with-evolution-data-server-3.13.90.patch' + 'nonprism.patch') +sha256sums=('b25f356363a9f8f8f93c7ab78af02de39f9c3b71964663129ac9904de9147eb6' + 'f512f50470954ec4018c99c49c37fa7e23074653a2e090ff13e32631ec10293d' + '2c75a8170f97658776d66f2bc8c39afdc27f5ef1e69f59df32f3b7c8dbe30cc5') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # remove Google Calendar support + patch -Np1 -i "${srcdir}/nonprism.patch" + + rm -rv src/activator/google + + cd po + for file in *.po; do + intltool-update ${file%.*} + msgattrib --no-obsolete -o $file $file + done +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 < ../0002-Build-with-evolution-data-server-3.13.90.patch + ./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 +} |