# Maintainer: PktSurf app=libical version=3.0.8 build=1sml homepage="https://github.com/libical/libical" download="https://github.com/libical/libical/archive/refs/tags/v$version.tar.gz" desc="iCAL calendaring and scheduling protocol implementation" requires="gcc-libs icu" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions # Thanks gentoo linux applypatch $srcdir/icu-68.patch } build() { mkdir -p smbuild && cd smbuild cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_BUILD_TYPE=Release \ -DENABLE_GTK_DOC=OFF \ -DSHARED_ONLY=ON make make install DESTDIR=$pkg cp ../LICENSE $pkgdocs/ mkfinalpkg } sha512sums=" 4c195f96d5c1d0dbd3c2c4c46dda2a4675c65e2cffa6b0ce7ee71d656a32dc75a6bb4d2b111395a1c01dfa7f1a0ccf579221fb63da72af7e4b9ac4b966debc29 libical-3.0.8.tar.lz 98b0b685676e7aa54e49050ec8adab4bb6cd3827fcd3977c156d841a527268cb47b3227852036f4bb195931ae8295fa6761bc96f4d4042f059193ab6f75aa27a icu-68.patch "