summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Hafner2023-06-01 14:59:54 +0200
committerFabian Hafner2023-06-01 14:59:54 +0200
commita3fc5b125768bb4745110b42531cbc45900298a6 (patch)
tree8f678ba371acf29911269e53cecf0b7587ef405e
parent83cb7bbe98a0a7c225c9c49a1ba6a47f4cfce229 (diff)
downloadaur-a3fc5b125768bb4745110b42531cbc45900298a6.tar.gz
version update
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD28
2 files changed, 18 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index aa49bb796821..8d29d8dc85e7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = texstudio-git
pkgdesc = Integrated writing environment for creating LaTeX documents
- pkgver = 4.2.2.r88.g8582ee24b
+ pkgver = 4.6.0alpha1.r20.g7fee3f4b7
pkgrel = 1
url = https://github.com/texstudio-org/texstudio
arch = x86_64
@@ -9,6 +9,8 @@ pkgbase = texstudio-git
makedepends = qt6-tools
makedepends = imagemagick
makedepends = librsvg
+ makedepends = ninja
+ makedepends = cmake
depends = poppler-qt6
depends = qt6-svg
depends = libxkbcommon-x11
diff --git a/PKGBUILD b/PKGBUILD
index fe1fa028cf1e..0bdffe5f1c42 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,13 @@
# Maintainer: coldBug <coldBug at e.mail dot de>
pkgname=texstudio-git
-pkgver=4.2.2.r88.g8582ee24b
+pkgver=4.6.0alpha1.r20.g7fee3f4b7
pkgrel=1
pkgdesc="Integrated writing environment for creating LaTeX documents"
arch=('x86_64')
url="https://github.com/texstudio-org/texstudio"
license=('GPL')
-depends=('poppler-qt6' 'qt6-svg' 'libxkbcommon-x11' 'hicolor-icon-theme' 'hunspell' 'quazip-qt6' 'desktop-file-utils' 'qt6-declarative' 'qt6-5compat')
-makedepends=('git' 'qt6-tools' 'imagemagick' 'librsvg')
+depends=('poppler-qt6' 'qt6-svg' 'libxkbcommon-x11' 'hicolor-icon-theme' 'hunspell' 'quazip-qt6' 'desktop-file-utils' 'qt6-declarative' 'qt6-5compat')
+makedepends=('git' 'qt6-tools' 'imagemagick' 'librsvg' 'ninja' 'cmake')
optdepends=('evince: pdf reader'
'okular: alternate pdf reader')
replaces=('texmakerx')
@@ -21,20 +21,22 @@ pkgver() {
}
build() {
- cd texstudio
- qmake6 CONFIG-="debug" USE_SYSTEM_QUAZIP=1 USE_SYSTEM_HUNSPELL=1 QUAZIP_LIB=-lquazip1-qt6 \
- QUAZIP_INCLUDE="/usr/include/QuaZip-Qt6-1.2/quazip" texstudio.pro
- make
+ cmake -B build -S texstudio \
+ -GNinja \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -Wno-dev
+
+ ninja -C build
}
package() {
- cd texstudio
- make INSTALL_ROOT="${pkgdir}" install
+ DESTDIR="${pkgdir}" ninja -C build install
for res in $(/bin/ls /usr/share/icons/hicolor | grep '[0-9]\+x[0-9]\+'); do
- mkdir -p "${pkgdir}"/usr/share/icons/hicolor/${res}/apps
- convert +set date:create +set date:modify -background none -density 1200 -resize ${res} \
- "${pkgdir}"/usr/share/icons/hicolor/scalable/apps/texstudio.svg \
- "${pkgdir}"/usr/share/icons/hicolor/${res}/apps/texstudio.png
+ mkdir -p "${pkgdir}"/usr/share/icons/hicolor/${res}/apps
+ convert +set date:create +set date:modify -background none -density 1200 -resize ${res} \
+ "${pkgdir}"/usr/share/icons/hicolor/scalable/apps/texstudio.svg \
+ "${pkgdir}"/usr/share/icons/hicolor/${res}/apps/texstudio.png
done
}