New package: retext4-4.1.3 (close #555).
This commit is contained in:
parent
b28e0dafff
commit
2014d97909
|
@ -0,0 +1 @@
|
|||
../ReText/files
|
|
@ -0,0 +1,32 @@
|
|||
# Template file for 'retext4'
|
||||
pkgname=retext4
|
||||
version=4.1.3
|
||||
revision=1
|
||||
conflicts="ReText>=0"
|
||||
wrksrc="ReText-${version}"
|
||||
build_style="python-module"
|
||||
python_versions="3.4"
|
||||
hostmakedepends="python3.4 ImageMagick"
|
||||
depends="python3.4-Markups python3.4-pyside python3.4-Markdown"
|
||||
short_desc="Editor for Markdown markup languages (QT 4.x)"
|
||||
maintainer="Enno Boland <eb@s01.de>"
|
||||
noarch="yes"
|
||||
license="GPL3"
|
||||
homepage="http://retext.sourceforge.net"
|
||||
distfiles="${SOURCEFORGE_SITE}/project/retext/ReText-${version%.*}/ReText-${version}.tar.gz"
|
||||
checksum=bb4409982d27ac62cab01b0748fe41d9c6660853668b350f3369e76d155edd6c
|
||||
|
||||
post_install() {
|
||||
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/ReText.desktop 644 usr/share/applications
|
||||
vmkdir usr/share/mime/packages
|
||||
vcopy $FILESDIR/x-retext-*.xml usr/share/mime/packages
|
||||
}
|
Loading…
Reference in New Issue