summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 397102b8acd7459b14dafd2b1650fb309e332472 (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
# Mainainter:
# Contributor: Felix Golatofski <contact@xdfr.de>
# Contributor: Jakob Gahde <j5lx@fmail.co.uk>

pkgname=php-wikidiff2
pkgver=1.10.0
pkgrel=1
pkgdesc="A PHP module that provides the external diff engine for MediaWiki"
arch=('i686' 'x86_64')
license=('GPL')
url='https://www.mediawiki.org/wiki/Extension:Wikidiff2'
depends=('php' 'libthai')
source=("https://releases.wikimedia.org/wikidiff2/wikidiff2-${pkgver}.tar.gz"{,.sig})
sha512sums=('14110a0f7bc64dff9f90e750cae437c633c1ec6a2e2d6b39e9f11f5b0f736ba574f2764de538a5b5687fb655af71b6d2d8a166226fd0ee900025415e79c700ff'
            'SKIP')
validpgpkeys=('FA1E9F9A41E7F43502CA5D6352FC8E7BEDB7FCA2'
              '83936EF3764977485D3A50344354894545DA0139')

build() {
  cd "${srcdir}/wikidiff2-${pkgver}"

  phpize
  ./configure
  make
}

package() {
  cd "${srcdir}/wikidiff2-${pkgver}"

  make install INSTALL_ROOT="${pkgdir}"
}