Date: Sunday, March 12, 2017 @ 08:01:48 Author: farseerfc Revision: 215746
archrelease: copy trunk to community-any Added: retext/repos/community-any/PKGBUILD (from rev 215745, retext/trunk/PKGBUILD) retext/repos/community-any/x-retext-markdown.xml (from rev 215745, retext/trunk/x-retext-markdown.xml) retext/repos/community-any/x-retext-rst.xml (from rev 215745, retext/trunk/x-retext-rst.xml) Deleted: retext/repos/community-any/PKGBUILD retext/repos/community-any/x-retext-markdown.xml retext/repos/community-any/x-retext-rst.xml ----------+ PKGBUILD | 123 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 62 insertions(+), 61 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-03-12 08:00:48 UTC (rev 215745) +++ PKGBUILD 2017-03-12 08:01:48 UTC (rev 215746) @@ -1,61 +0,0 @@ -# Maintainer: Jiachen Yang <farsee...@gmail.com> -# AUR Maintainer: Hyacinthe Cartiaux <hyacinthe.carti...@free.fr> -# Contributor: Bartosz Chmura <chmu...@gmail.com> -# Contributor: Alessio Sergi <asergi at archlinux dot us> -# Contributor: alfplayer -# Contributor: menta - -pkgname=retext -pkgver=7.0.0 -pkgrel=1 -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') -optdepends=('python-docutils: for reStructuredText language support' - 'python-pyenchant: for spell checking support') -source=("https://github.com/retext-project/$pkgname/archive/$pkgver.tar.gz" - "x-retext-markdown.xml" - "x-retext-rst.xml") -sha256sums=('7df3fcdad1d1f9a046ae33591b54dd7a6894de64eb0370f2dabf4cd75eb66586' - '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-any/PKGBUILD (from rev 215745, retext/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-03-12 08:01:48 UTC (rev 215746) @@ -0,0 +1,62 @@ +# Maintainer: Jiachen Yang <farsee...@gmail.com> +# AUR Maintainer: Hyacinthe Cartiaux <hyacinthe.carti...@free.fr> +# Contributor: Bartosz Chmura <chmu...@gmail.com> +# Contributor: Alessio Sergi <asergi at archlinux dot us> +# Contributor: alfplayer +# Contributor: menta + +pkgname=retext +pkgver=7.0.0 +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' 'python-markups>=2.0.0' 'shared-mime-info' 'xdg-utils' 'desktop-file-utils' 'hicolor-icon-theme' 'python-markdown') +makedepends=('imagemagick' 'qt5-tools') +optdepends=('python-docutils: for reStructuredText language support' + 'qt5-webkit: for WebKit preview' + 'python-pyenchant: for spell checking support') +source=("https://github.com/retext-project/$pkgname/archive/$pkgver.tar.gz" + "x-retext-markdown.xml" + "x-retext-rst.xml") +sha256sums=('7df3fcdad1d1f9a046ae33591b54dd7a6894de64eb0370f2dabf4cd75eb66586' + '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: Deleted: x-retext-markdown.xml =================================================================== (Binary files differ) Copied: retext/repos/community-any/x-retext-markdown.xml (from rev 215745, retext/trunk/x-retext-markdown.xml) =================================================================== (Binary files differ) Deleted: x-retext-rst.xml =================================================================== (Binary files differ) Copied: retext/repos/community-any/x-retext-rst.xml (from rev 215745, retext/trunk/x-retext-rst.xml) =================================================================== (Binary files differ)