[arch-commits] Commit in libical/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Mon Apr 27 10:50:41 UTC 2020


    Date: Monday, April 27, 2020 @ 10:50:41
  Author: foutrelis
Revision: 381700

archrelease: copy trunk to staging-x86_64

Added:
  libical/repos/staging-x86_64/
  libical/repos/staging-x86_64/PKGBUILD
    (from rev 381699, libical/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: libical/repos/staging-x86_64/PKGBUILD (from rev 381699, libical/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-04-27 10:50:41 UTC (rev 381700)
@@ -0,0 +1,38 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=libical
+pkgver=3.0.8
+pkgrel=2
+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' 'gtk-doc' 'doxygen' 'vala' 'gobject-introspection')
+checkdepends=('python-gobject')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('ce015e6d4c1c7cb4af7b45748ce8251c663f80f6a4357ddff6a97796642619abe882f4cadeca10cabeb1b25577869f436da15bca882e032eb3ff0475f6010d8b')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+}
+
+build() {
+  cmake -H"${pkgname}-${pkgver}" -Bbuild \
+    -DCMAKE_BUILD_TYPE=None \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DGOBJECT_INTROSPECTION=true \
+    -DICAL_GLIB_VAPI=true \
+    -DSHARED_ONLY=true
+  cmake --build build
+}
+
+check() {
+  cmake --build build --target test
+}
+
+package() {
+  DESTDIR="${pkgdir}" cmake --build build --target install
+}



More information about the arch-commits mailing list