[paket]
tanim   = iCalendar veri tipi ve format gerçeklemesi
paketci = Cihan_Alkan
grup 	= kütüphane
url     = http://libical.github.io/libical

[gerek]
derleme = cmake glib libxml2

[kaynak]
1  = https://github.com/${isim}/${isim}/archive/v${surum}.tar.gz::$isim.tar.gz
2 = https://github.com/void-linux/void-packages/raw/master/srcpkgs/libical/patches/fix-cross.patch

[sha256]
#1 		= 20f39343701ccd3ad896a9f9e982fdf85c1d3a35572e9d962216b69a64aef2ae

[derle]
betik =patch -Np1 -i /sources/fix-cross.patch
ekconf  = -DSHARED_ONLY=true -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib -DICAL_BUILD_DOCS=false
tip     = cmake
	      
[pakur]
betik 	=  DESTDIR="${PKG}" cmake --build build --target install