[arch-commits] Commit in retext/repos (8 files)

Antonio Rojas arojas at archlinux.org
Tue Oct 4 05:58:21 UTC 2016


    Date: Tuesday, October 4, 2016 @ 05:58:20
  Author: arojas
Revision: 191279

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

Added:
  retext/repos/community-i686/
  retext/repos/community-i686/PKGBUILD
    (from rev 191278, retext/trunk/PKGBUILD)
  retext/repos/community-i686/x-retext-markdown.xml
    (from rev 191278, retext/trunk/x-retext-markdown.xml)
  retext/repos/community-i686/x-retext-rst.xml
    (from rev 191278, retext/trunk/x-retext-rst.xml)
  retext/repos/community-x86_64/
  retext/repos/community-x86_64/PKGBUILD
    (from rev 191278, retext/trunk/PKGBUILD)
  retext/repos/community-x86_64/x-retext-markdown.xml
    (from rev 191278, retext/trunk/x-retext-markdown.xml)
  retext/repos/community-x86_64/x-retext-rst.xml
    (from rev 191278, retext/trunk/x-retext-rst.xml)

---------------------------+
 community-i686/PKGBUILD   |   61 ++++++++++++++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   61 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 122 insertions(+)

Copied: retext/repos/community-i686/PKGBUILD (from rev 191278, retext/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-10-04 05:58:20 UTC (rev 191279)
@@ -0,0 +1,61 @@
+# Maintainer: Jiachen Yang <farseerfc at gmail.com>
+# AUR Maintainer: Hyacinthe Cartiaux <hyacinthe.cartiaux at free.fr>
+# Contributor: Bartosz Chmura <chmurli at gmail.com>
+# Contributor: Alessio Sergi <asergi at archlinux dot us>
+# Contributor: alfplayer
+# Contributor: menta
+
+pkgname=retext
+pkgver=6.0.1
+pkgrel=2
+pkgdesc="A simple editor for Markdown and ReStructuredText markup languages"
+arch=('any')
+url="https://github.com/retext-project/retext"
+license=('GPL3')
+# for desktop integration: 'shared-mime-info' 'xdg-utils' 'desktop-file-utils'
+# for toolbar icons (see http://sourceforge.net/p/retext/tickets/44/): 'gconf'
+depends=('python-pyqt5' 'qt5-webkit' 'python-markups>=2.0.0' 'shared-mime-info' 'xdg-utils' 'desktop-file-utils' 'gconf' 'hicolor-icon-theme' 'python-markdown')
+makedepends=('imagemagick' 'qt5-tools' 'git')
+optdepends=('python-docutils: for reStructuredText language support'
+            'python-pyenchant: for spell checking support')
+source=("git+https://github.com/retext-project/retext#commit=64ec2242943a27dbc5c95717eed077215c37e417"
+        "x-retext-markdown.xml"
+        "x-retext-rst.xml")
+sha256sums=('SKIP'
+            'b51611479d3224eec2b58264ed91ace3eccb502b7b806dae3e7a3ab4aab8c4b8'
+            '6fef80cccb14813d9cc74810c397a6cd7831d1ca243536759a47c6e8b6cc977a')
+
+prepare () {
+    #cd "$srcdir/retext-${pkgver}"
+    cd "$srcdir/retext"
+}
+
+build () {
+    #cd "$srcdir/retext-${pkgver}"
+    cd "$srcdir/retext"
+    python3 setup.py build
+}
+
+package () {
+    #cd "$srcdir/retext-${pkgver}"
+    cd "$srcdir/retext"
+    python3 setup.py install --root="$pkgdir" -O1
+
+    # create /usr/share/* dirs
+    _SHAREDIR="$pkgdir/usr/share"
+    install -d -m 755 $_SHAREDIR/{applications,mime/packages}
+
+    # install icons
+    _ICONSDIR="$_SHAREDIR/icons/hicolor"
+    for size in 16 22 24 32 48 128; do
+      install -d -m 755 $_ICONSDIR/${size}x${size}/apps
+      convert -resize $size icons/$pkgname.png $_ICONSDIR/${size}x${size}/apps/$pkgname.png
+    done
+    install -d -m 755 $_ICONSDIR/scalable/apps
+    install -m 644 icons/$pkgname.svg $_ICONSDIR/scalable/apps/$pkgname.svg
+
+    # install mime files
+    install -m 644 $srcdir/x-retext-{markdown,rst}.xml $_SHAREDIR/mime/packages/
+}
+
+# vim:set ts=2 sw=2 et:

Copied: retext/repos/community-i686/x-retext-markdown.xml (from rev 191278, retext/trunk/x-retext-markdown.xml)
===================================================================
(Binary files differ)

Copied: retext/repos/community-i686/x-retext-rst.xml (from rev 191278, retext/trunk/x-retext-rst.xml)
===================================================================
(Binary files differ)

Copied: retext/repos/community-x86_64/PKGBUILD (from rev 191278, retext/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-10-04 05:58:20 UTC (rev 191279)
@@ -0,0 +1,61 @@
+# Maintainer: Jiachen Yang <farseerfc at gmail.com>
+# AUR Maintainer: Hyacinthe Cartiaux <hyacinthe.cartiaux at free.fr>
+# Contributor: Bartosz Chmura <chmurli at gmail.com>
+# Contributor: Alessio Sergi <asergi at archlinux dot us>
+# Contributor: alfplayer
+# Contributor: menta
+
+pkgname=retext
+pkgver=6.0.1
+pkgrel=2
+pkgdesc="A simple editor for Markdown and ReStructuredText markup languages"
+arch=('any')
+url="https://github.com/retext-project/retext"
+license=('GPL3')
+# for desktop integration: 'shared-mime-info' 'xdg-utils' 'desktop-file-utils'
+# for toolbar icons (see http://sourceforge.net/p/retext/tickets/44/): 'gconf'
+depends=('python-pyqt5' 'qt5-webkit' 'python-markups>=2.0.0' 'shared-mime-info' 'xdg-utils' 'desktop-file-utils' 'gconf' 'hicolor-icon-theme' 'python-markdown')
+makedepends=('imagemagick' 'qt5-tools' 'git')
+optdepends=('python-docutils: for reStructuredText language support'
+            'python-pyenchant: for spell checking support')
+source=("git+https://github.com/retext-project/retext#commit=64ec2242943a27dbc5c95717eed077215c37e417"
+        "x-retext-markdown.xml"
+        "x-retext-rst.xml")
+sha256sums=('SKIP'
+            'b51611479d3224eec2b58264ed91ace3eccb502b7b806dae3e7a3ab4aab8c4b8'
+            '6fef80cccb14813d9cc74810c397a6cd7831d1ca243536759a47c6e8b6cc977a')
+
+prepare () {
+    #cd "$srcdir/retext-${pkgver}"
+    cd "$srcdir/retext"
+}
+
+build () {
+    #cd "$srcdir/retext-${pkgver}"
+    cd "$srcdir/retext"
+    python3 setup.py build
+}
+
+package () {
+    #cd "$srcdir/retext-${pkgver}"
+    cd "$srcdir/retext"
+    python3 setup.py install --root="$pkgdir" -O1
+
+    # create /usr/share/* dirs
+    _SHAREDIR="$pkgdir/usr/share"
+    install -d -m 755 $_SHAREDIR/{applications,mime/packages}
+
+    # install icons
+    _ICONSDIR="$_SHAREDIR/icons/hicolor"
+    for size in 16 22 24 32 48 128; do
+      install -d -m 755 $_ICONSDIR/${size}x${size}/apps
+      convert -resize $size icons/$pkgname.png $_ICONSDIR/${size}x${size}/apps/$pkgname.png
+    done
+    install -d -m 755 $_ICONSDIR/scalable/apps
+    install -m 644 icons/$pkgname.svg $_ICONSDIR/scalable/apps/$pkgname.svg
+
+    # install mime files
+    install -m 644 $srcdir/x-retext-{markdown,rst}.xml $_SHAREDIR/mime/packages/
+}
+
+# vim:set ts=2 sw=2 et:

Copied: retext/repos/community-x86_64/x-retext-markdown.xml (from rev 191278, retext/trunk/x-retext-markdown.xml)
===================================================================
(Binary files differ)

Copied: retext/repos/community-x86_64/x-retext-rst.xml (from rev 191278, retext/trunk/x-retext-rst.xml)
===================================================================
(Binary files differ)



More information about the arch-commits mailing list