summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 48861ddf1d08f77cd00561ddaa8e201ea82b6ac0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org>

pkgname=qtwebkit-plugins-git
pkgver=15.4e2e040
pkgrel=2
pkgdesc='Spell checking plugin using Hunspell and HTML5 Notifications plugin for QtWebKit.'
url='https://github.com/QupZilla/qtwebkit-plugins'
arch=('i686' 'x86_64')
license=('GPL3+')
depends=('qt5-base' 'qt5-webkit' 'hunspell')
makedepends=('git')
source=('git+https://github.com/QupZilla/qtwebkit-plugins.git')
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/qtwebkit-plugins"
  echo $(git rev-list --count master).$(git rev-parse --short master)
}

build() {
  cd "$srcdir/qtwebkit-plugins"
  qmake-qt5
  make
}

package() {
  cd "$srcdir/qtwebkit-plugins"
  make INSTALL_ROOT="$pkgdir" install
}

# vim:set ts=2 sw=2 et: