aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-11-12 13:35:58 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-11-12 10:11:33 -0300
commitc3e2656b8c8b9673a5e52b8eafe79e926e78201e (patch)
treee65501617e5adca4f53becd116d0b7d10b0ac614
parentb8724b853ad9369055141a2deeaaffa687337702 (diff)
downloadaports-c3e2656b8c8b9673a5e52b8eafe79e926e78201e.tar.bz2
aports-c3e2656b8c8b9673a5e52b8eafe79e926e78201e.tar.xz
testing/kile: new aport
-rw-r--r--testing/kile/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/kile/APKBUILD b/testing/kile/APKBUILD
new file mode 100644
index 0000000000..e7215cda2c
--- /dev/null
+++ b/testing/kile/APKBUILD
@@ -0,0 +1,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"