Date: Friday, October 21, 2022 @ 15:43:08
Author: felixonmars
Revision: 458553
archrelease: copy trunk to staging-x86_64
Added:
libical/repos/staging-x86_64/
libical/repos/staging-x86_64/PKGBUILD
(from rev 458552, libical/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: libical/repos/staging-x86_64/PKGBUILD (from rev 458552,
libical/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2022-10-21 15:43:08 UTC (rev 458553)
@@ -0,0 +1,36 @@
+# Maintainer: Lukas Fleischer <[email protected]>
+# Contributor: Andrea Scarpino <[email protected]>
+# Contributor: Pierre Schmitz <[email protected]>
+
+pkgname=libical
+pkgver=3.0.16
+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' 'ninja' 'gtk-doc' 'doxygen' 'vala'
'gobject-introspection')
+checkdepends=('python-gobject')
+options=('debug')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('72659c98f6c98b3e0fa15849df7f80993403100fb5c237e452df714a7be2d1d27f4547c81b399fe7bc6b1fb10c8c7cf9a23f5b969d588d7b05d7fe2e29c86bd4')
+
+build() {
+ cmake -S "${pkgname}-${pkgver}" -B build -G Ninja \
+ -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 --install build
+}