blob: 026962fc98e2313518ba0b59979fc681b824967b (
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
47
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer:
pkgname=kdepimlibs
pkgver=4.13.3
pkgrel=1
pkgdesc="kde personal information management libraries"
url="https://projects.kde.org/projects/kde/kdepimlibs"
arch="all"
license="LGPL"
depends=
depends_dev="kdelibs-dev libical-dev cyrus-sasl-dev
openldap-dev gpgme-dev
akonadi-dev qjson-dev"
makedepends="$depends_dev cmake automoc4"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="ftp://ftp.kde.org/pub/kde/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz"
_builddir="$srcdir"/${pkgname}-${pkgver}
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
mkdir -p "$_builddir"/build
}
build() {
cd "$_builddir"/build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_BUILD_TYPE=Release \
-Wno-dev "$_builddir" || return 1
make || return 1
}
package() {
cd "$_builddir"/build
make DESTDIR="$pkgdir" install || return 1
}
md5sums="f312139c3871f4666f626ea8feb26974 kdepimlibs-4.13.3.tar.xz"
sha256sums="5ed6907c3bfd4e74de185145385405a2b55bcf5f41ffcb2b56dbda41cc857adb kdepimlibs-4.13.3.tar.xz"
sha512sums="e1a6b96efaef11806b6fc7a7c636af47231c556fc03d605d7008fab610532bd5483dab49e85abf056d803d585a9d709e6467682637096b1c6669cb27fe9f13e4 kdepimlibs-4.13.3.tar.xz"
|