From 8c11ab539eb5d238f18132e464d668775f35a773 Mon Sep 17 00:00:00 2001 From: Lorem Date: Sun, 30 Aug 2020 20:15:57 +0530 Subject: [PATCH] ReText: update to 7.1.0. --- srcpkgs/ReText/files/ReText.desktop | 9 --------- srcpkgs/ReText/template | 18 ++++++------------ 2 files changed, 6 insertions(+), 21 deletions(-) delete mode 100644 srcpkgs/ReText/files/ReText.desktop diff --git a/srcpkgs/ReText/files/ReText.desktop b/srcpkgs/ReText/files/ReText.desktop deleted file mode 100644 index d768f15e64..0000000000 --- a/srcpkgs/ReText/files/ReText.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Name=ReText -Comment=editor for Markdown and ReStructuredText markup languages -Exec=retext %F -Icon=retext -Terminal=false -Type=Application -Categories=Office; -MimeType=text/x-retext-markdown;text/x-retext-rst; diff --git a/srcpkgs/ReText/template b/srcpkgs/ReText/template index a6551fbdf7..68f03fc5a6 100644 --- a/srcpkgs/ReText/template +++ b/srcpkgs/ReText/template @@ -1,34 +1,28 @@ # Template file for 'ReText' pkgname=ReText -version=7.0.4 -revision=2 -archs=noarch -build_style=python3-module -pycompile_module="ReText" +version=7.1.0 +revision=1 wrksrc="${pkgname,,}-${version}" +build_style=python3-module hostmakedepends="ImageMagick python3 qt5-host-tools qt5-tools python3-setuptools" makedepends="python3-Markdown python3-Markups python3-PyQt5-webkit qt5-tools" -depends="desktop-file-utils python3-Markdown python3-Markups - python3-PyQt5-webkit" +depends="desktop-file-utils python3-chardet python3-docutils python3-Markdown + python3-Markups python3-PyQt5-webkit" short_desc="Simple editor for Markdown and reStructuredText" maintainer="Enno Boland " license="GPL-2.0-or-later" homepage="https://github.com/retext-project/retext" distfiles="https://github.com/retext-project/retext/archive/${version}.tar.gz" -checksum=dd9358dd541266eadf7b4f4606b1eb0a98fa321c25f58f1a9917ec4600345fad +checksum=a51cf19232e74a6972ce5d875ed1f24b07e6922841ce04558b99ecfc34b34134 post_install() { - lrelease locale/*.ts local icondir=usr/share/icons/hicolor for size in 16 22 24 32 48 128; do vmkdir $icondir/${size}x${size}/apps convert -resize $size icons/retext.png $DESTDIR/$icondir/${size}x${size}/apps/retext.png; done - vmkdir $icondir/scalable/apps - vinstall icons/retext.svg 644 $icondir/scalable/apps - vinstall $FILESDIR/$pkgname.desktop 644 usr/share/applications vmkdir usr/share/mime/packages vcopy $FILESDIR/x-retext-*.xml usr/share/mime/packages }