2014-05-02 09:45:57 +02:00
|
|
|
# Template file for 'ReText'
|
|
|
|
pkgname=ReText
|
2015-01-03 12:20:16 +01:00
|
|
|
version=5.0.1
|
2014-08-05 20:09:03 +02:00
|
|
|
revision=1
|
2014-05-02 09:45:57 +02:00
|
|
|
build_style="python-module"
|
2014-06-18 13:36:31 +02:00
|
|
|
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"
|
2014-05-02 09:45:57 +02:00
|
|
|
maintainer="Enno Boland <eb@s01.de>"
|
2014-06-18 13:36:31 +02:00
|
|
|
noarch="yes"
|
2015-01-03 12:37:54 +01:00
|
|
|
license="GPL-3"
|
2014-05-02 09:45:57 +02:00
|
|
|
homepage="http://retext.sourceforge.net"
|
2014-11-26 23:33:00 +01:00
|
|
|
update_ignore="*beta*"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/retext/ReText-${version%.*}/ReText-${version}.tar.gz"
|
2015-01-03 12:20:16 +01:00
|
|
|
checksum=a62f784f18bfcdad13969b8b15a8e92f57e930f23e93bfce1ab714e5ac77e939
|
2014-05-02 09:45:57 +02:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
local icondir=usr/share/icons/hicolor
|
|
|
|
|
|
|
|
for size in 16 22 24 32 48 128; do
|
|
|
|
vmkdir $icondir/${size}x${size}/apps
|
2014-05-03 23:02:21 +02:00
|
|
|
convert -resize $size icons/retext.png $DESTDIR/$icondir/${size}x${size}/apps/retext.png;
|
2014-05-02 09:45:57 +02:00
|
|
|
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
|
|
|
|
}
|