blob: e7215cda2c3b397865b760379969b590bc6567ce (
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
36
37
38
39
40
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kile
pkgver=2.9.93
pkgrel=0
arch="all !ppc64le" # Limited by texlive
url="https://kde.org/applications/office/org.kde.kile"
pkgdesc="A user-friendly TeX/LaTeX editor"
license="GPL-2.0-or-later"
depends="texlive"
makedepends="extra-cmake-modules qt5-qtbase-dev kconfig-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kdoctools-dev kguiaddons-dev ki18n-dev kiconthemes-dev kinit-dev khtml-dev kio-dev kparts-dev ktexteditor-dev kwindowsystem-dev kxmlgui-dev poppler-qt5-dev okular-dev"
source="https://downloads.sourceforge.net/kile/kile-$pkgver.tar.bz2"
subpackages="$pkgname-doc $pkgname-lang"
prepare() {
default_prepare
mkdir "$builddir"/build
}
build() {
cd "$builddir"/build
cmake "$builddir" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
check() {
cd "$builddir"/build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"/build
DESTDIR="$pkgdir" make install
}
sha512sums="d87277b8ef16c82cfd415dd191916641fa1a25e316e1eb2c463b275d3654dcfe180bea03027589ab30cd8b769d92d97005846a78aff8058bcfb20eed76287504 kile-2.9.93.tar.bz2"
|