updated on Sun Jan 22 20:01:29 UTC 2012
[aur-mirror.git] / libreoffice-converter / PKGBUILD
blob57491199c7f127c3c724690b05d3fbe984ef78c0
2 # Maintainer: Alpar Torok <torokalpar@gmail.com>
3 pkgname=libreoffice-converter
4 pkgver=3.3.2
5 pkgrel=1
6 epoch=
7 pkgdesc="Cli tool to convert documents."
8 arch=( "any" )
9 url="http://www.artofsolving.com/files/DocumentConverter.py"
10 license=('LGPL')
11 groups=("office")
12 depends=( "python2" "libreoffice" "libreoffice-sdk" )
13 makedepends=()
14 checkdepends=()
15 optdepends=()
16 provides=( "loconvert" )
17 conflicts=()
18 replaces=()
19 backup=()
20 options=()
21 install=
22 changelog=
23 source=(
24   # From the URL 
25   "DocumentConverter.py"
26   # adapted from the suse package for the newer DocumentConverter 
27   "DocumentConverter.py-more-types.diff"
28   # From the opensuse package 
29   "loconvert"
30   # Needed to make it work on arch
31   "loconvert.arch.patch"
33 noextract=()
34 md5sums=('2bb97a522e0372f1919191cb4cdc45e6'
35          '3d6da38a242d7611f41c8fe531582388'
36          'e190f63e7e2bc0886c386d29692ce870'
37          '2649c81d6d093620fc94f9e645958163')
39 build() {
40   cd "$srcdir"
41   patch DocumentConverter.py < DocumentConverter.py-more-types.diff
42   patch loconvert            < loconvert.arch.patch
45 package() {
46   cd "$pkgdir"
47   mkdir -p usr/share/libreoffice/program/
48   mkdir -p usr/bin
49   cp $srcdir/DocumentConverter.py  usr/share/libreoffice/program/
50   cp $srcdir/loconvert usr/bin/
51   chmod +x usr/bin/loconvert
54 # vim:set ts=2 sw=2 et: