summaryrefslogtreecommitdiff
path: root/extra/libical
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libical')
-rw-r--r--extra/libical/PKGBUILD22
1 files changed, 11 insertions, 11 deletions
diff --git a/extra/libical/PKGBUILD b/extra/libical/PKGBUILD
index 4d5dfdad5..810e82fa0 100644
--- a/extra/libical/PKGBUILD
+++ b/extra/libical/PKGBUILD
@@ -1,29 +1,29 @@
-# $Id: PKGBUILD 157971 2012-04-30 07:57:27Z andrea $
+# $Id: PKGBUILD 185545 2013-05-14 21:40:24Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=libical
-pkgver=0.48
-pkgrel=1.1
+pkgver=1.0
+pkgrel=2
pkgdesc="An open source reference implementation of the icalendar data type and serialization format"
arch=('i686' 'x86_64' 'mips64el')
url='http://sourceforge.net/projects/freeassociation/'
license=('LGPL' 'MPL')
depends=('glibc')
-options=('!libtool')
+makedepends=('cmake')
source=("http://downloads.sourceforge.net/freeassociation/${pkgname}-${pkgver}.tar.gz")
-md5sums=('e549f434d5fbf9cd156c60ed4943618f')
+md5sums=('4438c31d00ec434f02867a267a92f8a1')
build() {
- cd "${srcdir}"/${pkgname}-${pkgver}
-
- ./configure --prefix=/usr \
- --enable-shared \
- --disable-static
+ mkdir -p build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
- cd "${srcdir}"/${pkgname}-${pkgver}
+ cd build
make DESTDIR="${pkgdir}" install
}