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

Lukas Fleischer lfleischer at archlinux.org
Sun Dec 15 18:08:07 UTC 2019


    Date: Sunday, December 15, 2019 @ 18:08:07
  Author: lfleischer
Revision: 371520

archrelease: copy trunk to community-x86_64

Added:
  libical/repos/community-x86_64/
  libical/repos/community-x86_64/PKGBUILD
    (from rev 371519, libical/trunk/PKGBUILD)

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

Copied: libical/repos/community-x86_64/PKGBUILD (from rev 371519, libical/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-12-15 18:08:07 UTC (rev 371520)
@@ -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.7
+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' '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=('546115fe53dc8800e79478211efa5c2cfe7cae8e34cff54fbc14b42cd98e4fe5')
+
+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