* Replaced patch command with applypatch function in multiple build files in base, xorg, gtk, extra and xfce sections
40 lines
1.1 KiB
Text
Executable file
40 lines
1.1 KiB
Text
Executable file
app=libical
|
|
version=3.0.8
|
|
build=2sml
|
|
homepage='https://github.com/libical/libical'
|
|
download='https://github.com/libical/libical/archive/refs/tags/v3.0.8.tar.gz'
|
|
desc="iCAL calendaring and scheduling protocol implementation"
|
|
requires="gcc-libs icu"
|
|
|
|
build() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
|
|
# Thanks gentoo linux
|
|
applypatch $srcdir/icu-68.patch
|
|
|
|
mkdir -p smbuild && cd smbuild
|
|
cmake .. \
|
|
-DCMAKE_INSTALL_PREFIX="" \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DINCLUDE_INSTALL_DIR=include \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DENABLE_GTK_DOC=OFF \
|
|
-DSHARED_ONLY=ON
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
cp ../{LICENSE,ReadMe.txt,ReleaseNotes.txt,THANKS,TODO} $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
4c195f96d5c1d0dbd3c2c4c46dda2a4675c65e2cffa6b0ce7ee71d656a32dc75a6bb4d2b111395a1c01dfa7f1a0ccf579221fb63da72af7e4b9ac4b966debc29 libical-3.0.8.tar.lz
|
|
98b0b685676e7aa54e49050ec8adab4bb6cd3827fcd3977c156d841a527268cb47b3227852036f4bb195931ae8295fa6761bc96f4d4042f059193ab6f75aa27a icu-68.patch
|
|
"
|