blob: 30b2e46b9bd7c32f62b02084631a243eaa4a92d6 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Jack Random <jack (@) random.to>
# Contributor: Antonio Rojas <arojas@archlinux.org
# Contributor: Jerome Leclanche <jerome.leclanche+arch@gmail.com>
_gitname=akonadi
pkgname=$_gitname-git
pkgver=r10502.56b7131
pkgrel=1
pkgdesc="PIM layer, which provides an asynchronous API to access all kind of PIM data. builds with PostgreSQL backend"
arch=('i686' 'x86_64')
url="https://community.kde.org/KDE_PIM/akonadi"
license=('LGPL')
depends=('qt5-base' 'shared-mime-info' 'libxslt' 'postgresql' 'kdesignerplugin')
makedepends=('git' 'extra-cmake-modules' 'postgresql')
optdepends=('mariadb: MariaDB backend')
conflicts=("$_gitname")
provides=("$_gitname")
source=("git+https://github.com/KDE/$_gitname")
install=$pkgname.install
sha256sums=("SKIP")
pkgver() {
cd $_gitname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../$_gitname \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF \
-DDATABASE_BACKEND=POSTGRES \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}
|