updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / lit2pdf / PKGBUILD
blobbc7067ce5e4123f6227c9ce5c3716ab299a314b7
1 # Contributor: Nick B <Shirakawasuna at gmail _dot_com>
2 pkgname=lit2pdf
3 pkgver=0.1
4 pkgrel=2
5 pkgdesc="A program that converts Microsoft Reader .lit files to Acrobat .pdf files."
6 arch=('i686' 'x86_64')
7 url="http://lit2pdf.jenxi.com/"
8 license=('custom')
9 depends=('clit' 'html2ps' 'ghostscript')
10 source=(http://www.petermstewart.net/content/lit2pdf
11                 archpatch.diff)
12 md5sums=('0dd3fc255f2f454d4fabc5bf894ba5ca'
13          'f475c20b126cb85c4b34701080f5f022')
14 build() {
16 cd $srcdir
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