diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-12-23 07:55:58 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-12-23 07:55:58 -0500 |
commit | 9ce9f32ef15c054075a99414c6c1c297893d1d05 (patch) | |
tree | 7269faa45059fc2b13e58c14cde1853e915950b3 /pcr/retext | |
parent | ea5eefc94a14a6c0161b3a1e7a792fb8de272dac (diff) | |
download | abslibre-9ce9f32ef15c054075a99414c6c1c297893d1d05.tar.gz abslibre-9ce9f32ef15c054075a99414c6c1c297893d1d05.tar.bz2 abslibre-9ce9f32ef15c054075a99414c6c1c297893d1d05.zip |
Removing retext: This package is in [community] repo
Diffstat (limited to 'pcr/retext')
-rw-r--r-- | pcr/retext/PKGBUILD | 52 | ||||
-rw-r--r-- | pcr/retext/retext.install | 15 | ||||
-rw-r--r-- | pcr/retext/x-retext-markdown.xml | 14 | ||||
-rw-r--r-- | pcr/retext/x-retext-rst.xml | 9 |
4 files changed, 0 insertions, 90 deletions
diff --git a/pcr/retext/PKGBUILD b/pcr/retext/PKGBUILD deleted file mode 100644 index c011b5d7d..000000000 --- a/pcr/retext/PKGBUILD +++ /dev/null @@ -1,52 +0,0 @@ -# Maintainer (Arch): Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr> -# Contributor (Arch): Bartosz Chmura <chmurli@gmail.com> -# Contributor (Arch): Alessio Sergi <asergi at archlinux dot us> -# Contributor (Arch): alfplayer -# Contributor (Arch): menta -# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> - -pkgname=retext -pkgver=5.2.1 -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' 'shared-mime-info' 'xdg-utils' 'desktop-file-utils' 'gconf') -makedepends=('imagemagick') -optdepends=('python-markdown: for Markdown language support' - '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") -install="${pkgname}".install -sha256sums=('a1ec52bedf65332d817623f8552204a00adb8b7ce54d59359f07a18f821909a1' - 'b51611479d3224eec2b58264ed91ace3eccb502b7b806dae3e7a3ab4aab8c4b8' - '6fef80cccb14813d9cc74810c397a6cd7831d1ca243536759a47c6e8b6cc977a') - - -package () { - cd "$srcdir/retext-${pkgver}" - python3 setup.py install --root="$pkgdir" - - # 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: diff --git a/pcr/retext/retext.install b/pcr/retext/retext.install deleted file mode 100644 index d783a77c8..000000000 --- a/pcr/retext/retext.install +++ /dev/null @@ -1,15 +0,0 @@ -post_install() { - xdg-icon-resource forceupdate --theme hicolor &>/dev/null - update-desktop-database -q - update-mime-database usr/share/mime &>/dev/null -} - -post_upgrade() { - post_install "$1" -} - -post_remove() { - post_install "$1" -} - -# vim:set ts=2 sw=2 et: diff --git a/pcr/retext/x-retext-markdown.xml b/pcr/retext/x-retext-markdown.xml deleted file mode 100644 index f2dead22e..000000000 --- a/pcr/retext/x-retext-markdown.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'> - <mime-type type="text/x-retext-markdown"> - <sub-class-of type="text/plain"/> - <comment>Markdown document</comment> - <glob pattern="*.md"/> - <glob pattern="*.mkd"/> - <glob pattern="*.mkdn"/> - <glob pattern="*.mdml"/> - <glob pattern="*.mdown"/> - <glob pattern="*.markdown"/> - <glob pattern="*.re"/> - </mime-type> -</mime-info> diff --git a/pcr/retext/x-retext-rst.xml b/pcr/retext/x-retext-rst.xml deleted file mode 100644 index 929c29bfe..000000000 --- a/pcr/retext/x-retext-rst.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'> - <mime-type type="text/x-retext-rst"> - <sub-class-of type="text/plain"/> - <comment>reStructuredText document</comment> - <glob pattern="*.rst"/> - <glob pattern="*.rest"/> - </mime-type> -</mime-info> |