[arch-commits] Commit in texstudio/repos (4 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Thu Mar 30 03:13:14 UTC 2017


    Date: Thursday, March 30, 2017 @ 03:13:13
  Author: svenstaro
Revision: 220039

archrelease: copy trunk to community-i686, community-x86_64

Added:
  texstudio/repos/community-i686/PKGBUILD
    (from rev 220038, texstudio/trunk/PKGBUILD)
  texstudio/repos/community-x86_64/PKGBUILD
    (from rev 220038, texstudio/trunk/PKGBUILD)
Deleted:
  texstudio/repos/community-i686/PKGBUILD
  texstudio/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |   68 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   27 -----------------
 community-x86_64/PKGBUILD |   27 -----------------
 3 files changed, 68 insertions(+), 54 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-03-30 03:12:59 UTC (rev 220038)
+++ community-i686/PKGBUILD	2017-03-30 03:13:13 UTC (rev 220039)
@@ -1,27 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Clément DEMOULINS <clement at archivel.fr>
-pkgname=texstudio
-pkgver=2.12.4
-pkgrel=1
-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')
-optdepends=('evince: pdf reader'
-            'okular: alternate pdf reader')
-replaces=('texmakerx')
-source=("hg+http://hg.code.sf.net/p/texstudio/hg#tag=${pkgver}")
-sha512sums=('SKIP')
-
-build() {
-    cd hg
-    qmake-qt5 CONFIG-="debug" texstudio.pro
-    make
-}
-
-package() {
-    cd hg
-    make INSTALL_ROOT="$pkgdir" install
-}

Copied: texstudio/repos/community-i686/PKGBUILD (from rev 220038, texstudio/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-03-30 03:13:13 UTC (rev 220039)
@@ -0,0 +1,34 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Clément DEMOULINS <clement at archivel.fr>
+pkgname=texstudio
+pkgver=2.12.4
+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' 'hicolor-icon-theme')
+makedepends=('qt5-tools' 'mercurial' 'imagemagick' 'librsvg')
+optdepends=('evince: pdf reader'
+            'okular: alternate pdf reader')
+replaces=('texmakerx')
+source=("hg+http://hg.code.sf.net/p/texstudio/hg#tag=${pkgver}")
+sha512sums=('SKIP')
+
+build() {
+    cd hg
+    qmake-qt5 CONFIG-="debug" texstudio.pro
+    make
+}
+
+package() {
+    cd hg
+    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
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-03-30 03:12:59 UTC (rev 220038)
+++ community-x86_64/PKGBUILD	2017-03-30 03:13:13 UTC (rev 220039)
@@ -1,27 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Clément DEMOULINS <clement at archivel.fr>
-pkgname=texstudio
-pkgver=2.12.4
-pkgrel=1
-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')
-optdepends=('evince: pdf reader'
-            'okular: alternate pdf reader')
-replaces=('texmakerx')
-source=("hg+http://hg.code.sf.net/p/texstudio/hg#tag=${pkgver}")
-sha512sums=('SKIP')
-
-build() {
-    cd hg
-    qmake-qt5 CONFIG-="debug" texstudio.pro
-    make
-}
-
-package() {
-    cd hg
-    make INSTALL_ROOT="$pkgdir" install
-}

Copied: texstudio/repos/community-x86_64/PKGBUILD (from rev 220038, texstudio/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-03-30 03:13:13 UTC (rev 220039)
@@ -0,0 +1,34 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Clément DEMOULINS <clement at archivel.fr>
+pkgname=texstudio
+pkgver=2.12.4
+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' 'hicolor-icon-theme')
+makedepends=('qt5-tools' 'mercurial' 'imagemagick' 'librsvg')
+optdepends=('evince: pdf reader'
+            'okular: alternate pdf reader')
+replaces=('texmakerx')
+source=("hg+http://hg.code.sf.net/p/texstudio/hg#tag=${pkgver}")
+sha512sums=('SKIP')
+
+build() {
+    cd hg
+    qmake-qt5 CONFIG-="debug" texstudio.pro
+    make
+}
+
+package() {
+    cd hg
+    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
+}


More information about the arch-commits mailing list