aboutsummaryrefslogtreecommitdiffstats
path: root/community/kile/APKBUILD
blob: ae5b50e3c6fdc0f095e58fe9f82bbc7bbf64ba81 (plain) (blame)
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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kile
pkgver=2.9.93
pkgrel=1
arch="all !ppc64le !armhf !mips !mips64 !s390x" # 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"

build() {
	cmake -B "$builddir"/build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make -C build
}

check() {
	make -C build
}

package() {
	DESTDIR="$pkgdir" make -C build install
}

sha512sums="d87277b8ef16c82cfd415dd191916641fa1a25e316e1eb2c463b275d3654dcfe180bea03027589ab30cd8b769d92d97005846a78aff8058bcfb20eed76287504  kile-2.9.93.tar.bz2"