[arch-commits] Commit in catdoc/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 15:30:40 UTC 2020


    Date: Tuesday, July 7, 2020 @ 15:30:40
  Author: felixonmars
Revision: 658927

archrelease: copy trunk to community-staging-x86_64

Added:
  catdoc/repos/community-staging-x86_64/
  catdoc/repos/community-staging-x86_64/PKGBUILD
    (from rev 658926, catdoc/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: catdoc/repos/community-staging-x86_64/PKGBUILD (from rev 658926, catdoc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 15:30:40 UTC (rev 658927)
@@ -0,0 +1,34 @@
+# Maintainer: Juergen Hoetzel <juergen at archlinux.org>
+# Contributor: Paulius Palevicius <paulius at birzai.com>
+
+pkgname=catdoc
+pkgver=0.95
+pkgrel=3
+pkgdesc="A convertor for Microsoft Word, Excel, PowerPoint and RTF Files to text"
+arch=('x86_64')
+url="https://www.wagner.pp.ru/~vitus/software/catdoc/"
+license=('GPL')
+depends=('glibc')
+optdepends=('tk: for using wordview')
+options=('!makeflags')
+#source=(http://ftp.de.debian.org/debian/pool/main/c/catdoc/${pkgname}_$pkgver.orig.tar.gz)
+source=(http://ftp.wagner.pp.ru/pub/catdoc/catdoc-$pkgver.tar.gz) 
+md5sums=('4ece2f43b140fab6a2c3a9d6436d7779')
+
+# This update is missing wordview.desktop and wordview.xpm
+# And is 75% smaller?  Something is possibly off, but it does work.
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  #sed -i 's/$(prefix)/$(installroot)$(prefix)/' desktop/Makefile.in
+  #sed -i 's/0.94.2/0.94.4/' configure* doc/*.1 src/makefile.tc
+  ./configure --prefix=/usr  --with-wish=/usr/bin/wish
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make installroot="$pkgdir" mandir=/usr/share/man/man1 install
+  install -d "$pkgdir/usr/share/man/man1"
+  install -m644 doc/*.1 "$pkgdir/usr/share/man/man1"
+}


More information about the arch-commits mailing list