aports/testing/catdoc/APKBUILD
2022-10-24 15:55:14 +02:00

28 lines
991 B
Text

# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Noel Kuntze <noel.kuntze@thermi.consulting>
pkgname=catdoc
pkgver=0.95
pkgrel=1
pkgdesc="Convertor for Microsoft Word, Excel, PowerPoint and RTF Files to text"
options="!check" # No testsuite
url="https://www.wagner.pp.ru/~vitus/software/catdoc/"
arch="all"
license="GPL-2.0-only"
subpackages="$pkgname-doc"
source="http://ftp.wagner.pp.ru/pub/catdoc/catdoc-$pkgver.tar.gz"
# This update is missing wordview.desktop and wordview.xpm
# And is 75% smaller? Something is possibly off, but it does work.
build() {
./configure --prefix=/usr --with-wish=/usr/bin/wish
make installroot="$pkgdir"
}
package() {
install -d "$pkgdir/usr/share/man/man1"
install -m644 doc/*.1 "$pkgdir/usr/share/man/man1"
make -j1 installroot="$pkgdir" mandir=/usr/share/man/ install
}
sha512sums="dd6bded4b6b70749c007256b182b063ff266f86d53024d8582001678821e8096c5b980bc8f43015d9c82bbe022d71d4ba5fe68aff31b2ff6db3688595e651b2c catdoc-0.95.tar.gz"