1 # Contributor: Nick B <Shirakawasuna at gmail _dot_com>
5 pkgdesc="A program that converts Microsoft Reader .lit files to Acrobat .pdf files."
7 url="http://lit2pdf.jenxi.com/"
9 depends=('clit' 'html2ps' 'ghostscript')
10 source=(http://www.petermstewart.net/content/lit2pdf
12 md5sums=('0dd3fc255f2f454d4fabc5bf894ba5ca'
13 'f475c20b126cb85c4b34701080f5f022')
17 cp ./lit2pdf ./lit2pdfsrc
18 patch -p0 <archpatch.diff
19 install -D -m755 $srcdir/lit2pdfsrc $pkgdir/usr/bin/lit2pdf
21 mkdir -p $pkgdir/usr/share/licenses/lit2pdf
23 echo -e "Feel free to make changes, pass the script on, etc. It works well enough for my needs,\n\
24 But please let me know if you come up with an improvement. And remember, as the ConvertLIT\n\
25 usage screen says, “Please do not use this program to distribute illegal copies of ebooks.\n\
26 … that would make Baby Jesus sad.“" > $pkgdir/usr/share/licenses/lit2pdf/license
28 chmod 644 $pkgdir/usr/share/licenses/lit2pdf/license