summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 38a7df37d9b60e91b28c6becf3c6ba0ccb5ec6eb (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
32
33
34
35
# Maintainer: Samuel Damashek <samuel dot damashek at gmail dot com>
pkgname=huggle
_gitver=7f116e7af68430cfbe0222809c7aaa5f1d3b59c9
pkgver=3.1.20.g${_gitver:0:7}
pkgrel=1
pkgdesc="diff browser intended for dealing with vandalism and other unconstructive edits on Wikimedia projects"
arch=('i686' 'x86_64')
url="https://en.wikipedia.org/wiki/Wikipedia:Huggle"
license=('GPL')
depends=('qt5-base' 'qt5-webkit')
makedepends=('cmake' 'unzip')
groups=('base-devel')
source=("https://github.com/huggle/huggle3-qt-lx/archive/${_gitver}.tar.gz")
md5sums=('ebf49ef1004d2d1448710cbd0db6d460')


prepare() {
    cd "$srcdir/huggle3-qt-lx-${_gitver}/huggle"

    pushd libs
    unzip libirc.zip
}

build() {
    cd "$srcdir/huggle3-qt-lx-${_gitver}/huggle"

    cmake . -DCMAKE_INSTALL_PREFIX=/usr

    make
}

package() {
    cd "$srcdir/huggle3-qt-lx-${_gitver}/huggle"
    make DESTDIR=$pkgdir install
}