diff options
Diffstat (limited to 'extra/txt2tags/Pkgfile')
-rwxr-xr-x | extra/txt2tags/Pkgfile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/extra/txt2tags/Pkgfile b/extra/txt2tags/Pkgfile new file mode 100755 index 000000000..fba5e2400 --- /dev/null +++ b/extra/txt2tags/Pkgfile @@ -0,0 +1,33 @@ +# Description: Generateur de documents en plusieurs formats de sortie +# URL: http://txt2tags.sourceforge.net +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch + +name=txt2tags +version=2.6 +release=1 +source=(http://txt2tags.googlecode.com/files/$name-$version.tgz) + +build() { +cd $name-$version + mkdir -p $PKG/usr/bin + mkdir -p $PKG/usr/share/{man/man1,man/fr/man1,vim/syntax,doc/$name} + # bin + sed -i "s/env\ python/env\ python2/" txt2tags + install -m 755 txt2tags $PKG/usr/bin + install -m 755 extras/{t2tmake.rb,gensite,html-update.sh} $PKG/usr/bin + # vim + install -m 644 extras/*.vim $PKG/usr/share/vim/syntax + # page man + install -m 644 doc/manpage.man $PKG/usr/share/man/man1/txt2tags.1 + install -m 644 doc/manpage-fr.man $PKG/usr/share/man/fr/man1/txt2tags.1 + # doc + install -m 644 doc/{*.pdf,*.t2t} $PKG/usr/share/doc/$name + # locale fr + mkdir -p $PKG/usr/share/locale/fr/LC_MESSAGES/ + cd po + msgfmt -o txt2tags.mo fr.po + install -m 644 txt2tags.mo $PKG/usr/share/locale/fr/LC_MESSAGES +} + + |