[arch-commits] Commit in libical/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Sun Nov 21 23:04:48 UTC 2021
Date: Sunday, November 21, 2021 @ 23:04:48
Author: foutrelis
Revision: 428833
archrelease: copy trunk to staging-x86_64
Added:
libical/repos/staging-x86_64/
libical/repos/staging-x86_64/PKGBUILD
(from rev 428832, libical/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: libical/repos/staging-x86_64/PKGBUILD (from rev 428832, libical/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2021-11-21 23:04:48 UTC (rev 428833)
@@ -0,0 +1,35 @@
+# 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.11
+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' 'libxml2')
+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=('cdee86c50edc2373ab2024d7d4ae26dd4b9a728dbc13083472c4923c67f61ff3cef7d43edca762c6a11979d2040fc1576a033eaa23a19e58af8f14a7d67fc139')
+
+build() {
+ cmake -H"${pkgname}-${pkgver}" -Bbuild \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBEXECDIR=lib \
+ -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