mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/texstudio to 2.12.4-2
This commit is contained in:
parent
39e0c189f4
commit
112a5b525f
1 changed files with 11 additions and 4 deletions
|
@ -6,13 +6,13 @@
|
|||
|
||||
pkgname=texstudio
|
||||
pkgver=2.12.4
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Integrated writing environment for creating LaTeX documents"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://texstudio.sourceforge.net/"
|
||||
license=('GPL')
|
||||
depends=('poppler-qt5' 'qt5-svg' 'qt5-script' 'libxkbcommon-x11')
|
||||
makedepends=('qt5-tools' 'mercurial')
|
||||
depends=('poppler-qt5' 'qt5-svg' 'qt5-script' 'libxkbcommon-x11' 'hicolor-icon-theme')
|
||||
makedepends=('qt5-tools' 'mercurial' 'imagemagick' 'librsvg')
|
||||
optdepends=('evince: pdf reader'
|
||||
'okular: alternate pdf reader')
|
||||
replaces=('texmakerx')
|
||||
|
@ -35,5 +35,12 @@ build() {
|
|||
|
||||
package() {
|
||||
cd hg
|
||||
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
|
||||
mkdir -p "${pkgdir}"/usr/share/icons/hicolor/${res}/apps
|
||||
convert -density 1200 -resize ${res} \
|
||||
"${pkgdir}"/usr/share/icons/hicolor/scalable/apps/texstudio.svg \
|
||||
"${pkgdir}"/usr/share/icons/hicolor/${res}/apps/texstudio.png
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue