Date: Friday, July 4, 2014 @ 10:31:59 Author: cbehan Revision: 114834
archrelease: copy trunk to community-any Added: txt2tags/repos/community-any/ChangeLog (from rev 114833, txt2tags/trunk/ChangeLog) txt2tags/repos/community-any/PKGBUILD (from rev 114833, txt2tags/trunk/PKGBUILD) Deleted: txt2tags/repos/community-any/ChangeLog txt2tags/repos/community-any/PKGBUILD -----------+ ChangeLog | 18 +++---- PKGBUILD | 142 ++++++++++++++++++++++++++++++------------------------------ 2 files changed, 81 insertions(+), 79 deletions(-) Deleted: ChangeLog =================================================================== --- ChangeLog 2014-07-04 08:31:33 UTC (rev 114833) +++ ChangeLog 2014-07-04 08:31:59 UTC (rev 114834) @@ -1,9 +0,0 @@ - -2008-08-17 Douglas Soares de Andrade <doug...@archlinux.org> - - * Updated for i686: 2.5 - -2008-01-14 Douglas Soares de Andrade <d...@aur.archlinux.org> - - * Fixed the manpage path - Copied: txt2tags/repos/community-any/ChangeLog (from rev 114833, txt2tags/trunk/ChangeLog) =================================================================== --- ChangeLog (rev 0) +++ ChangeLog 2014-07-04 08:31:59 UTC (rev 114834) @@ -0,0 +1,9 @@ + +2008-08-17 Douglas Soares de Andrade <doug...@archlinux.org> + + * Updated for i686: 2.5 + +2008-01-14 Douglas Soares de Andrade <d...@aur.archlinux.org> + + * Fixed the manpage path + Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-07-04 08:31:33 UTC (rev 114833) +++ PKGBUILD 2014-07-04 08:31:59 UTC (rev 114834) @@ -1,70 +0,0 @@ -# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> -# Contributor: Douglas Soares de Andrade <dsandr...@gmail.com> -# Contributor: Stefan Husmann <stefan-husm...@t-online.de> - -pkgname=txt2tags -pkgver=2.6 -pkgrel=3 -pkgdesc='A text formatting and conversion tool.' -arch=('any') -url='http://www.txt2tags.org' -license=('GPL') -depends=('python2') -optdepends=('ruby: for running t2tmake.rb' 'sh: for running html-update.sh' - 'vim: for using the vim-files') -makedepends=('gettext') -source=("http://txt2tags.googlecode.com/files/$pkgname-$pkgver.tgz") -md5sums=('ac09fd624f1e3a553d5f0e01271cc0ee') - -build() { - cd "$srcdir/$pkgname-$pkgver" - - # python2 fix - for f in txt2tags extras/gensite; do - sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' "$f" - done -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - install -d "$pkgdir/usr/share/vim/vimfiles"/{plugin,syntax,compiler,macros} - install -d "$pkgdir/usr/share/man"/{it,pt_BR,fr,es,ca}/man1 - install -d "$pkgdir/usr/share/man/man1" - - install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname" - install -Dm644 extras/pagemaker.vim "$pkgdir/usr/share/vim/vimfiles/syntax/pagemaker.vim" - install -Dm644 "extras/$pkgname.vim" "$pkgdir/usr/share/vim/vimfiles/syntax/$pkgname.vim" - install -Dm644 extras/gvim-menu.vim \ - "$pkgdir/usr/share/vim/vimfiles/plugin/$pkgname-gvim-menu.vim" - install -Dm644 "extras/$pkgname-compiler.vim" \ - "$pkgdir/usr/share/vim/vimfiles/compiler/$pkgname-compiler.vim" - install -Dm644 extras/unhtml.vim \ - "$pkgdir/usr/share/vim/vimfiles/macros/unhtml.vim" - - # installing other extra tools - install -m755 extras/{t2tmake.rb,gensite,html-update.sh,dynartslides} "$pkgdir/usr/bin" - install -Dm644 extras/txt2tags-mode.el "$pkgdir/usr/share/emacs/site-lisp/txt2tags-mode.el" - - # handling man pages - cd doc - for _lang in {"it","pt","fr","es","ca"}; do - install -Dm644 "manpage-${_lang}.man" "$pkgname.1-${_lang}" - if [[ ${_lang} == "pt" ]]; then - cp "$pkgname.1-${_lang}" "$pkgdir/usr/share/man/pt_BR/man1/$pkgname.1" - else - install -Dm644 "$pkgname.1-${_lang}" "$pkgdir/usr/share/man/${_lang}/man1/$pkgname.1" - fi - done - - # English man page - install -Dm644 manpage.man "$pkgdir/usr/share/man/man1/$pkgname.1" - - # i18n - cd ../po - for _i in *.po - do - msgfmt -o "${_i%.po}.mo" "${_i}" - install -Dm644 "${_i%.po}.mo" "$pkgdir/usr/share/locale/${_i%.po}/LC_MESSAGES/$pkgname.mo" - done -} Copied: txt2tags/repos/community-any/PKGBUILD (from rev 114833, txt2tags/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-07-04 08:31:59 UTC (rev 114834) @@ -0,0 +1,72 @@ +# Maintainer: Connor Behan <connor.be...@gmail.com> +# Contributor: Lukas Fleischer <archlinux at cryptocrack dot de> +# Contributor: Douglas Soares de Andrade <dsandr...@gmail.com> +# Contributor: Stefan Husmann <stefan-husm...@t-online.de> + +pkgname=txt2tags +pkgver=2.6 +pkgrel=4 +pkgdesc='A text formatting and conversion tool.' +arch=('any') +url='http://www.txt2tags.org' +license=('GPL') +depends=('python2') +optdepends=('ruby: for running t2tmake.rb' + 'sh: for running html-update.sh' + 'vim: for using the vim-files') +makedepends=('gettext') +source=("http://txt2tags.googlecode.com/files/$pkgname-$pkgver.tgz") +md5sums=('ac09fd624f1e3a553d5f0e01271cc0ee') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # python2 fix + for f in txt2tags extras/gensite; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' "$f" + done +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + install -d "$pkgdir/usr/share/vim/vimfiles"/{plugin,syntax,compiler,macros} + install -d "$pkgdir/usr/share/man"/{it,pt_BR,fr,es,ca}/man1 + install -d "$pkgdir/usr/share/man/man1" + + install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname" + install -Dm644 extras/pagemaker.vim "$pkgdir/usr/share/vim/vimfiles/syntax/pagemaker.vim" + install -Dm644 "extras/$pkgname.vim" "$pkgdir/usr/share/vim/vimfiles/syntax/$pkgname.vim" + install -Dm644 extras/gvim-menu.vim \ + "$pkgdir/usr/share/vim/vimfiles/plugin/$pkgname-gvim-menu.vim" + install -Dm644 "extras/$pkgname-compiler.vim" \ + "$pkgdir/usr/share/vim/vimfiles/compiler/$pkgname-compiler.vim" + install -Dm644 extras/unhtml.vim \ + "$pkgdir/usr/share/vim/vimfiles/macros/unhtml.vim" + + # installing other extra tools + install -m755 extras/{t2tmake.rb,gensite,html-update.sh,dynartslides} "$pkgdir/usr/bin" + install -Dm644 extras/txt2tags-mode.el "$pkgdir/usr/share/emacs/site-lisp/txt2tags-mode.el" + + # handling man pages + cd doc + for _lang in {"it","pt","fr","es","ca"}; do + install -Dm644 "manpage-${_lang}.man" "$pkgname.1-${_lang}" + if [[ ${_lang} == "pt" ]]; then + cp "$pkgname.1-${_lang}" "$pkgdir/usr/share/man/pt_BR/man1/$pkgname.1" + else + install -Dm644 "$pkgname.1-${_lang}" "$pkgdir/usr/share/man/${_lang}/man1/$pkgname.1" + fi + done + + # English man page + install -Dm644 manpage.man "$pkgdir/usr/share/man/man1/$pkgname.1" + + # i18n + cd ../po + for _i in *.po + do + msgfmt -o "${_i%.po}.mo" "${_i}" + install -Dm644 "${_i%.po}.mo" "$pkgdir/usr/share/locale/${_i%.po}/LC_MESSAGES/$pkgname.mo" + done +}