blob: a799ef860eba92d23aa59c29822f0db337024821 (
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
|
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libical
pkgver=3.0.5
pkgrel=0
pkgdesc="Reference implementation of the iCalendar format"
url="https://libical.github.io/libical/"
arch="all"
license="LGPL-2.1-only OR MPL-2.0"
depends_dev="db-dev"
makedepends="$depends_dev perl cmake glib-dev icu-dev libxml2-dev"
checkdepends="tzdata"
subpackages="$pkgname-dev"
source="https://github.com/libical/libical/releases/download/v$pkgver/libical-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver/build"
prepare() {
mkdir "$builddir"
default_prepare
}
build() {
cd "$builddir"
cmake .. \
-DCMAKE_RELEASE_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DSHARED_ONLY=true \
-DENABLE_GTK_DOC=false
make
}
check() {
cd "$builddir"
ctest -E regression
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="9bf24b535864f66ea0b8d52d902d15fbfd20efbc480b5188ecd1b3d4aafdba063219763f99a8c30413964f7a024c7a902bade6bc40224bc59a438e672f65d656 libical-3.0.5.tar.gz"
|