[arch-commits] Commit in libical/trunk (PKGBUILD)

Andrea Scarpino andrea at nymeria.archlinux.org
Mon May 13 17:54:33 UTC 2013


    Date: Monday, May 13, 2013 @ 19:54:33
  Author: andrea
Revision: 185369

upgpkg: libical 1.0-2

Use cmake to build

Modified:
  libical/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-13 17:51:30 UTC (rev 185368)
+++ PKGBUILD	2013-05-13 17:54:33 UTC (rev 185369)
@@ -4,26 +4,26 @@
 
 pkgname=libical
 pkgver=1.0
-pkgrel=1
+pkgrel=2
 pkgdesc="An open source reference implementation of the icalendar data type and serialization format"
 arch=('i686' 'x86_64')
 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=('4438c31d00ec434f02867a267a92f8a1')
 
 build() {
-  cd ${pkgname}-${pkgver}
-
-  libtoolize -f
-  ./configure --prefix=/usr \
-    --disable-static
+  mkdir -p build
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
   make
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
+  cd build
   make DESTDIR="${pkgdir}" install
 }




More information about the arch-commits mailing list