makedeb


evolution-etesync-git 1.1.1.15.g4d699d9-2


EteSync (end-to-end encrypted sync) plugin for Evolution

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for evolution-etesync-git.

# Maintainer: Dax Ask <sgqxtta4r@mozmail.com>
# Contributor: Tom Hacohen <tom@stosb.com>

pkgname=evolution-etesync-git
_pkgname=evolution-etesync
pkgver=1.1.1.15.g4d699d9
pkgrel=2
pkgdesc="EteSync (end-to-end encrypted sync) plugin for Evolution"
arch=('amd64')
url="https://gitlab.gnome.org/GNOME/evolution-etesync/"
license=('LGPL')
depends=(libgee-0.8-2 libjson-glib-1.0-0 evolution-data-server libetebase0)
makedepends=(cmake git intltool libical-dev libebook1.2-dev libecal2.0-dev libedata-cal2.0-dev libedata-book1.2-dev evolution-data-server-dev evolution-dev libetebase-dev)
provides=(evolution-etesync)
conflicts=(evolution-etesync)
source=("${_pkgname}::git+https://gitlab.gnome.org/GNOME/evolution-etesync.git")
sha256sums=('SKIP')

prepare() {
  echo 'deb http://download.opensuse.org/repositories/home:/fawz:/libetebase/xUbuntu_22.04/ /' | sudo tee /etc/apt/sources.list.d/libetebase.list
  curl -fsSL https://download.opensuse.org/repositories/home:fawz:libetebase/xUbuntu_22.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/libetebase.gpg > /dev/null
  sudo apt update
}

build() {
  cd "$_pkgname"
  mkdir -p build
  cd build
  cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  make
}

package() {
  cd "$_pkgname"
  cd build
  make DESTDIR="${pkgdir}" install
}