aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas <spameier@lcht.ch>2021-05-08 18:58:15 +0200
committerLeo <thinkabit.ukim@gmail.com>2021-06-21 17:53:38 -0300
commit59a3d432c150836d861dcb4ed5cae07ae2b4a2f4 (patch)
tree99ae79d97ccf8bb83c9f2a759a4a0f7e72d4e7cc
parent01351ec5162a1c190361b3799c63862a4c94d935 (diff)
downloadaports-59a3d432c150836d861dcb4ed5cae07ae2b4a2f4.tar.gz
aports-59a3d432c150836d861dcb4ed5cae07ae2b4a2f4.tar.bz2
aports-59a3d432c150836d861dcb4ed5cae07ae2b4a2f4.tar.xz
testing/texstudio: new aport
fully featured LaTeX editor https://www.texstudio.org
-rw-r--r--testing/texstudio/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/texstudio/APKBUILD b/testing/texstudio/APKBUILD
new file mode 100644
index 0000000000..4223361d28
--- /dev/null
+++ b/testing/texstudio/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Jonas <jns@lcht.ch>
+# Maintainer: Jonas <jns@lcht.ch>
+pkgname=texstudio
+pkgver=3.1.2
+pkgrel=0
+pkgdesc="fully featured LaTeX editor"
+url="https://www.texstudio.org"
+arch="all"
+license="GPL-3.0-or-later"
+depends="qt5-qtbase"
+makedepends="qt5-qtbase-dev qt5-qttools-dev qt5-qtsvg-dev qt5-qtscript-dev
+ qt5-qttools-dev poppler-qt5-dev"
+source="$pkgname-$pkgver.tar.gz::https://github.com/texstudio-org/texstudio/archive/$pkgver.tar.gz"
+
+build() {
+ QTDIR=/usr/lib/qt5
+ PATH=$QTDIR/bin:$PATH
+ LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
+ DYLD_LIBRARY_PATH=$QTDIR/lib:$DYLD_LIBRARY_PATH
+ export QTDIR PATH LD_LIBRARY_PATH DYLD_LIBRARY_PATH
+ qmake-qt5 PREFIX=/usr CONFIG-=debug CONFIG-=debug_and_release CONFIG+=release texstudio.pro
+ make
+}
+
+check() {
+ qmake-qt5
+ make
+}
+
+package() {
+ mkdir -p "$pkgdir/usr/share"
+ make INSTALL_PATH="$pkgdir" INSTALL_ROOT="$pkgdir" PREFIX="/usr" install
+}
+sha512sums="
+c8ce74cca6620ba725c4e8ff66564cc4804f3b922877af5c4952a8cd5b43fdf2deb88c1515f457f75a67d7d29ca1d6307779b8304c0b78b37f585c61a12221c4 texstudio-3.1.2.tar.gz
+"