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
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
}