community/texstudio to 2.12.4-2

This commit is contained in:
Kevin Mihelich 2017-03-30 03:22:40 +00:00
parent 39e0c189f4
commit 112a5b525f

View file

@ -6,13 +6,13 @@
pkgname=texstudio pkgname=texstudio
pkgver=2.12.4 pkgver=2.12.4
pkgrel=1 pkgrel=2
pkgdesc="Integrated writing environment for creating LaTeX documents" pkgdesc="Integrated writing environment for creating LaTeX documents"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://texstudio.sourceforge.net/" url="http://texstudio.sourceforge.net/"
license=('GPL') license=('GPL')
depends=('poppler-qt5' 'qt5-svg' 'qt5-script' 'libxkbcommon-x11') depends=('poppler-qt5' 'qt5-svg' 'qt5-script' 'libxkbcommon-x11' 'hicolor-icon-theme')
makedepends=('qt5-tools' 'mercurial') 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')
@ -35,5 +35,12 @@ build() {
package() { package() {
cd hg 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
} }