mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-15 13:41:59 +01:00
44 lines
1.2 KiB
Plaintext
44 lines
1.2 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libical
|
|
pkgver=1.0.1
|
|
pkgrel=0
|
|
pkgdesc="An open source reference implementation of the icalendar data type and serialization format"
|
|
url="http://sourceforge.net/projects/freeassociation/"
|
|
arch="all"
|
|
license="LGPL MPL"
|
|
depends=
|
|
makedepends="perl cmake"
|
|
subpackages="$pkgname-dev"
|
|
source="https://github.com/libical/libical/releases/download/v1.0.1/libical-$pkgver.tar.gz"
|
|
|
|
prepare() {
|
|
cd "$srcdir"/$pkgname-$pkgver
|
|
update_config_sub || return 1
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch)
|
|
msg "Applying $i"
|
|
patch -p1 -i "$srcdir"/$i || return 1
|
|
;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
build() {
|
|
cd "$srcdir"/$pkgname-$pkgver
|
|
cmake -DCMAKE_RELEASE_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DSHARED_ONLY=true \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir"/$pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
md5sums="d26a58149aaae9915fa79fb35c8de6fc libical-1.0.1.tar.gz"
|
|
sha256sums="089ce3c42d97fbd7a5d4b3c70adbdd82115dd306349c1f5c46a8fb3f8c949592 libical-1.0.1.tar.gz"
|
|
sha512sums="dfdd9b9b3c01aa9ce40ae38fe3c7339eae33e48f60f86bd627e0dbe9c8270b95fb15c0ff0684a22d6e9be163b41d4c87ff0f7a49adcd0baac127d16c8c21d020 libical-1.0.1.tar.gz"
|