🔒 Repository is read-only – file editing is disabled.

recipes/gui/libical/PAGBUILD.yaml main

45 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930313233343536373839404142434445
pkgname: libical
pkgver: '4.0.5'
pkgrel: '1'
pkgdesc: 'An open source reference implementation of the icalendar data type and serialization format'
url: 'https://github.com/libical/libical'
arch: x86_64
depends: []
makedepends:
- libxml2
- cmake
- db
- 'gobject-introspection'
- icu
- doxygen
- glib
- vala

source:
- 'https://github.com/libical/libical/releases/download/v${pkgver}/libical-${pkgver}.tar.gz'

sha256sums:
- 'cc09a3ac41d60e6144e644bd3fcf97d47106d659c4a0b8965102581401e67c9c'

build: |
  cd ${pkgname}-${pkgver}

  mkdir build
  cd build
  cmake -DCMAKE_INSTALL_PREFIX=/usr \
  -DCMAKE_BUILD_TYPE=Release   \
  -D LIBICAL_STATIC=NO         \
  -D LIBICAL_GOBJECT_INTROSPECTION=true \
  -D LIBICAL_JAVA_BINDINGS=OFF \
  -D LIBICAL_GLIB_VAPI=true    \
  -D LIBICAL_BUILD_DOCS=false  \
  ..
  make -j$(nproc)
  make DESTDIR=${PKGDIR} install

  install -Dm644 ../LICENSE.txt ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE.txt
  install -Dm644 ../LICENSES/LGPL-2.1-only.txt ${PKGDIR}/usr/share/licenses/${pkgname}/LGPL-2.1-only.txt
  install -Dm644 ../LICENSES/MPL-2.0.txt ${PKGDIR}/usr/share/licenses/${pkgname}/MPL-2.0.txt

package: |
  true