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

Jan Steffens heftig at archlinux.org
Thu Sep 12 00:18:56 UTC 2019


    Date: Thursday, September 12, 2019 @ 00:18:55
  Author: heftig
Revision: 362276

3.0.5-1

Modified:
  libical/trunk/PKGBUILD

----------+
 PKGBUILD |   30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-12 00:04:20 UTC (rev 362275)
+++ PKGBUILD	2019-09-12 00:18:55 UTC (rev 362276)
@@ -3,37 +3,37 @@
 # Contributor: Pierre Schmitz <pierre at archlinux.de>
 
 pkgname=libical
-pkgver=3.0.4
-pkgrel=3
+pkgver=3.0.5
+pkgrel=1
 pkgdesc="An open source reference implementation of the icalendar data type and serialization format"
 arch=('x86_64')
 url='https://github.com/libical/libical'
 license=('LGPL' 'MPL')
 depends=('glibc' 'glib2' 'icu' 'db')
-makedepends=('cmake' 'ninja')
+makedepends=('cmake' 'gtk-doc' 'doxygen' 'vala' 'gobject-introspection')
+checkdepends=('python-gobject')
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz")
-sha256sums=('20f39343701ccd3ad896a9f9e982fdf85c1d3a35572e9d962216b69a64aef2ae')
+sha256sums=('483acbf7fee66ca071c2ff8183e46b6f2b3a89e1e866eadf4870eaaa281c8db1')
 
 prepare() {
-  mkdir build
+  cd "${pkgname}-${pkgver}"
 }
 
 build() {
-  cd build
-
-  cmake ../"${pkgname}-${pkgver}" \
-    -G Ninja \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DSHARED_ONLY=true \
+  cmake -H"${pkgname}-${pkgver}" -Bbuild \
+    -DCMAKE_BUILD_TYPE=Plain \
     -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=/usr/lib
-  ninja
+    -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+    -DGOBJECT_INTROSPECTION=true \
+    -DICAL_GLIB_VAPI=true \
+    -DSHARED_ONLY=true
+  cmake --build build
 }
 
 check() {
-  ninja -C build test
+  cmake --build build --target test
 }
 
 package() {
-  DESTDIR="${pkgdir}" ninja -C build install
+  DESTDIR="${pkgdir}" cmake --build build --target install
 }


More information about the arch-commits mailing list