mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
community/texstudio to 2.12.8-1
This commit is contained in:
parent
c48fcd3d3d
commit
c5fa5ba05c
1 changed files with 8 additions and 8 deletions
|
@ -5,8 +5,8 @@
|
||||||
# - ARM patch, use NO_CRASH_HANDLER=1 for AArch64
|
# - ARM patch, use NO_CRASH_HANDLER=1 for AArch64
|
||||||
|
|
||||||
pkgname=texstudio
|
pkgname=texstudio
|
||||||
pkgver=2.12.6
|
pkgver=2.12.8
|
||||||
pkgrel=5
|
pkgrel=1
|
||||||
pkgdesc="Integrated writing environment for creating LaTeX documents"
|
pkgdesc="Integrated writing environment for creating LaTeX documents"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="http://texstudio.sourceforge.net/"
|
url="http://texstudio.sourceforge.net/"
|
||||||
|
@ -16,31 +16,31 @@ makedepends=('qt5-tools' 'mercurial' 'imagemagick' 'librsvg')
|
||||||
optdepends=('evince: pdf reader'
|
optdepends=('evince: pdf reader'
|
||||||
'okular: alternate pdf reader')
|
'okular: alternate pdf reader')
|
||||||
replaces=('texmakerx')
|
replaces=('texmakerx')
|
||||||
source=("hg+http://hg.code.sf.net/p/texstudio/hg#tag=${pkgver}"
|
source=("https://github.com/texstudio-org/texstudio/archive/${pkgver}.tar.gz"
|
||||||
fs54269.patch
|
fs54269.patch
|
||||||
fs56433.patch
|
fs56433.patch
|
||||||
texstudio-debughelper-arm-fix.patch)
|
texstudio-debughelper-arm-fix.patch)
|
||||||
sha512sums=('SKIP'
|
sha512sums=('0076617f6421fa959c8c327bc81d4d27779358481b377d83856fe26b963d7c3c1e04d3b11e8f7eeb99cab9c089c8e7afcbb9c93a5aaccd00cf493792b802bfcb'
|
||||||
'247e85f668b06c8a2def4e7456f0ddc8d35c7990484c1c037f7cf43fdee91419b5df66e968ef1e0c637fe685722bbad9171bdd79fad7a10912ae329aff088b68'
|
'247e85f668b06c8a2def4e7456f0ddc8d35c7990484c1c037f7cf43fdee91419b5df66e968ef1e0c637fe685722bbad9171bdd79fad7a10912ae329aff088b68'
|
||||||
'a098c45440077db6c137bbeeb76d266242b80d51c3721aed30987d22b3e381b2a490b685aff4897d203a17256c64a9254360e3ac6f962675ea4b9a575a29a808'
|
'a098c45440077db6c137bbeeb76d266242b80d51c3721aed30987d22b3e381b2a490b685aff4897d203a17256c64a9254360e3ac6f962675ea4b9a575a29a808'
|
||||||
'dcb5ce7cd3e83fc221903fa895e6c428c54ada7468e74bb0a3e6bfac01c9e9575e4780d300b67f44064f2d25e10dd1aef531b847cdee71fbfbe7337808a0c8f4')
|
'dcb5ce7cd3e83fc221903fa895e6c428c54ada7468e74bb0a3e6bfac01c9e9575e4780d300b67f44064f2d25e10dd1aef531b847cdee71fbfbe7337808a0c8f4')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd hg
|
cd texstudio-${pkgver}/src
|
||||||
patch -Np1 < "${srcdir}"/fs54269.patch
|
patch -Np1 < "${srcdir}"/fs54269.patch
|
||||||
patch -Np1 < "${srcdir}"/fs56433.patch
|
patch -Np1 < "${srcdir}"/fs56433.patch
|
||||||
patch -p1 -i ../texstudio-debughelper-arm-fix.patch
|
patch -Np1 < "${srcdir}"/texstudio-debughelper-arm-fix.patch
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd hg
|
cd texstudio-${pkgver}
|
||||||
[[ $CARCH == "aarch64" ]] && EXTRA="NO_CRASH_HANDLER=1"
|
[[ $CARCH == "aarch64" ]] && EXTRA="NO_CRASH_HANDLER=1"
|
||||||
qmake-qt5 CONFIG-="debug" $EXTRA texstudio.pro
|
qmake-qt5 CONFIG-="debug" $EXTRA texstudio.pro
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd hg
|
cd texstudio-${pkgver}
|
||||||
make INSTALL_ROOT="${pkgdir}" install
|
make INSTALL_ROOT="${pkgdir}" install
|
||||||
|
|
||||||
for res in $(/bin/ls /usr/share/icons/hicolor | grep '[0-9]\+x[0-9]\+'); do
|
for res in $(/bin/ls /usr/share/icons/hicolor | grep '[0-9]\+x[0-9]\+'); do
|
||||||
|
|
Loading…
Reference in a new issue