aboutsummaryrefslogtreecommitdiffstats
path: root/main/libical/APKBUILD
blob: 25321f2fab4f0ec85dcf58b7f43cc7fdcfa1cb45 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libical
pkgver=2.0.0
pkgrel=2
pkgdesc="An open source reference implementation of the icalendar data type and serialization format"
url="https://libical.github.io/libical/"
arch="all"
license="LGPL MPL"
depends=""
makedepends="perl cmake"
subpackages="$pkgname-dev"
source="https://github.com/libical/libical/releases/download/v$pkgver/libical-$pkgver.tar.gz"

builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd $builddir
	cmake -DCMAKE_RELEASE_TYPE=Release \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DSHARED_ONLY=true
	make
}

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

sha512sums="06318512d5df25e97f64b0e82ade6eaa41e42a428641642ecb8973dc23b172698a8ff8734b7e12b033b1278a131c6339d208e1bfd1bcba0a2c9519a01749a55f  libical-2.0.0.tar.gz"