#Packager: George Vlahavas pkgname=webkit2gtk pkgver=2.34.3 pkgrel=1gv source=("http://www.webkitgtk.org/releases/webkitgtk-${pkgver}.tar.xz") url=http://www.webkit.org docs=("ChangeLog" "INSTALL" "LICENSE" "README") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "webkit2gtk (GTK+ port of WebKit)" "WebKit/GTK+ is the new GTK+ port of the WebKit, an open-source web" "content engine that powers numerous applications such as web" "browsers, email clients, feed readers, web and text editors, and a" "whole lot more." "" "http://webkit.org http://webkitgtk.org" ) build() { cd $startdir/src/webkitgtk-$pkgver cmake -S webkitgtk-$pkgver -B build -G Ninja \ -DPORT=GTK \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \ -DLIBEXEC_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX}/webkit2gtk-4.0 \ -DUSE_SOUP2=ON \ -DUSE_SYSTEMD=OFF \ -DENABLE_MINIBROWSER=ON \ -DENABLE_GTKDOC=OFF \ ../webkitgtk-$pkgver cmake --build build DESTDIR=$startdir/pkg cmake --install build }