[arch-commits] Commit in txt2tags/repos/community-any (4 files)

Connor Behan cbehan at archlinux.org
Fri Dec 20 17:25:03 UTC 2019


    Date: Friday, December 20, 2019 @ 17:25:02
  Author: cbehan
Revision: 538547

archrelease: copy trunk to community-any

Added:
  txt2tags/repos/community-any/ChangeLog
    (from rev 538546, txt2tags/trunk/ChangeLog)
  txt2tags/repos/community-any/PKGBUILD
    (from rev 538546, txt2tags/trunk/PKGBUILD)
Deleted:
  txt2tags/repos/community-any/ChangeLog
  txt2tags/repos/community-any/PKGBUILD

-----------+
 ChangeLog |   18 +++++-----
 PKGBUILD  |  100 ++++++++++++++++--------------------------------------------
 2 files changed, 36 insertions(+), 82 deletions(-)

Deleted: ChangeLog
===================================================================
--- ChangeLog	2019-12-20 17:23:58 UTC (rev 538546)
+++ ChangeLog	2019-12-20 17:25:02 UTC (rev 538547)
@@ -1,9 +0,0 @@
-
-2008-08-17  Douglas Soares de Andrade  <douglas at archlinux.org>
-
-	* Updated for i686: 2.5
-
-2008-01-14  Douglas Soares de Andrade  <dsa at aur.archlinux.org>
-
-	* Fixed the manpage path
-

Copied: txt2tags/repos/community-any/ChangeLog (from rev 538546, txt2tags/trunk/ChangeLog)
===================================================================
--- ChangeLog	                        (rev 0)
+++ ChangeLog	2019-12-20 17:25:02 UTC (rev 538547)
@@ -0,0 +1,9 @@
+
+2008-08-17  Douglas Soares de Andrade  <douglas at archlinux.org>
+
+	* Updated for i686: 2.5
+
+2008-01-14  Douglas Soares de Andrade  <dsa at aur.archlinux.org>
+
+	* Fixed the manpage path
+

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-20 17:23:58 UTC (rev 538546)
+++ PKGBUILD	2019-12-20 17:25:02 UTC (rev 538547)
@@ -1,73 +0,0 @@
-# Maintainer: Connor Behan <connor.behan at gmail.com>
-# Contributor: Lukas Fleischer <lfleischer at archlinux.org>
-# Contributor: Douglas Soares de Andrade <dsandrade at gmail.com>
-# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
-
-pkgname=txt2tags
-pkgver=2.6
-pkgrel=6
-pkgdesc='A text formatting and conversion tool.'
-arch=('any')
-url='https://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=("https://github.com/$pkgname/$pkgname/archive/$pkgver.tar.gz")
-md5sums=('531e4ab3f0fb0a4dac5abb0605472109')
-
-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 _file in `find . -name *.man | grep -v English`; do
-    _lang=${_file:${#_file}-6:2}
-    install -Dm644 "$_file" "$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 English/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 538546, txt2tags/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-20 17:25:02 UTC (rev 538547)
@@ -0,0 +1,27 @@
+# Maintainer: Connor Behan <connor.behan at gmail.com>
+# Contributor: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Douglas Soares de Andrade <dsandrade at gmail.com>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+
+pkgname=txt2tags
+pkgver=3.3
+pkgrel=1
+pkgdesc='A text formatting and conversion tool.'
+arch=('any')
+url='http://www.txt2tags.org'
+license=('GPL')
+depends=('python')
+makedepends=('python-setuptools')
+md5sums=('3261d1d6e185a8159212970c2a8e617d')
+source=("https://github.com/jendrikseipp/$pkgname/archive/$pkgver.tar.gz")
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  python setup.py build
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  python setup.py install --root="$pkgdir"
+}
+



More information about the arch-commits mailing list