36 lines
958 B
Plaintext
36 lines
958 B
Plaintext
# Tanım: Txt2tags bir belge üretecidir
|
||
# URL: http://txt2tags.sourceforge.net
|
||
# Paketçi: milisarge
|
||
# Gerekler:
|
||
# Grup: sistem
|
||
|
||
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
|
||
}
|
||
|
||
|