desktop/libmediawiki/PKGBUILD
2017-08-31 14:45:22 +01:00

31 lines
698 B
Bash

# Include global configuration
source ../kdeapps.conf
pkgname=libmediawiki
pkgver=5.37.0
pkgrel=1
pkgdesc="KDE C++ interface for MediaWiki based web service as wikipedia.org"
url="https://projects.kde.org/projects/extragear/libs/libmediawiki"
arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=('kcoreaddons')
makedepends=('extra-cmake-modules' 'kdoctools' 'git')
groups=('kde' 'kde-graphics' 'kde-uninstall')
source=("https://download.kde.org/stable/${pkgname}/${pkgname}-${pkgver}.tar.xz")
md5sums=('cb75f9b26a096fa85bf4ba1a1116119f')
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}