milis/talimatname/genel/t/txt2tags/talimat

35 lines
943 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Txt2tags bir belge üretecidir
# URL: http://txt2tags.sourceforge.net
# Paketçi: milisarge
# Gerekler:
isim=txt2tags
surum=2.6
devir=1
kaynak=(http://txt2tags.googlecode.com/files/$isim-$surum.tgz)
derle() {
cd $isim-$surum
mkdir -p $PKG/usr/bin
mkdir -p $PKG/usr/share/{man/man1,man/fr/man1,vim/syntax,doc/$isim}
# 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/$isim
# 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
}