updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / clit / PKGBUILD
blob42aa4b36422784d3f019caee7364e3587938d651
1 # Maintainer: gDD (usrgdd | gmail)
2 # Credits: cantabile
4 # ChangeLog:
5 # 2010-01-15:
6 #       I found libtom.org down, and 'github.com/libtom/libtommath'
7 #       is not a prefered way! so changed url to netbsd ftp.
8 #       pkgrel remains 4 since nothing changed but a url
9 # 0000-00-00
10 #       i forgot older changes
12 pkgname=clit
13 pkgver=1.8
14 pkgrel=4
15 pkgdesc="An extractor/converter for .LIT eBooks (Microsoft Reader's format)"
16 arch=('i686' 'x86_64')
17 url="http://www.convertlit.com/"
18 license=('GPL')
19 groups=()
20 depends=()
21 makedepends=('sed')
22 optdepends=()
23 provides=()
24 conflicts=()
25 replaces=()
26 backup=()
27 options=()
28 install=
29 source=(http://www.convertlit.com/clit18src.zip \
30         ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/ltm-0.42.0.tar.bz2)
31 noextract=()
32 md5sums=('d691d4729485fe5d73e3f0937d8fb42e'
33          '7380da904b020301be7045cb3a89039b')
35 build() {
36     cd "$srcdir/libtommath-0.42.0"
37     make
38     cd ../lib/
39     make
40     cd ../clit18/
41     sed -i 's|libtommath-0.30|libtommath-0.42.0|' Makefile
42     make
45 package() {
46     install -D -m755 "$srcdir/clit18/clit" "$pkgdir/usr/bin/clit"