Date: Monday, December 12, 2022 @ 21:36:21
  Author: freswa
Revision: 464207

archrelease: copy trunk to testing-x86_64

Added:
  libical/repos/testing-x86_64/
  libical/repos/testing-x86_64/PKGBUILD
    (from rev 464206, libical/trunk/PKGBUILD)

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

Copied: libical/repos/testing-x86_64/PKGBUILD (from rev 464206, 
libical/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2022-12-12 21:36:21 UTC (rev 464207)
@@ -0,0 +1,37 @@
+# Maintainer: Lukas Fleischer <[email protected]>
+# Contributor: Andrea Scarpino <[email protected]>
+# Contributor: Pierre Schmitz <[email protected]>
+
+pkgname=libical
+pkgver=3.0.16
+pkgrel=4
+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' '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 \
+    -DCMAKE_DISABLE_FIND_PACKAGE_BerkeleyDB=true
+  cmake --build build
+}
+
+check() {
+  cmake --build build --target test
+}
+
+package() {
+  DESTDIR="${pkgdir}" cmake --install build
+}

Reply via email to