pkgname=qtwebkit-plugins pkgver=0.1 pkgrel=3 _commit=247d9cd pkgdesc="Set of QtWebKit platform plugins for the latest QtWebKit, spellcheck and notifications" url="http://www.qupzilla.com" arch=('x86_64') license=('GPL3') depends=('qtwebkit' 'hunspell') categories=('network') source=("https://github.com/QupZilla/qtwebkit-plugins/tarball/master/QupZilla-qtwebkit-plugins-${pkgver}.tar.gz" 'spellcheck.diff') md5sums=('d26180cf87c4aefd5153a9e13fc85bd0' '044ced8c0cd2bd352875b7eb563eb030') build() { cd "${srcdir}/QupZilla-qtwebkit-plugins-${_commit}/" patch -p1 -i "${srcdir}/spellcheck.diff" qmake make } package() { cd "${srcdir}/QupZilla-qtwebkit-plugins-${_commit}/" make INSTALL_ROOT=$pkgdir install }