summaryrefslogtreecommitdiff
path: root/community/convertlit/PKGBUILD
blob: 3cfb6135659e1ac64f0e56b2fe484ab2414cedfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: PKGBUILD 59640 2011-11-28 23:08:09Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: gDD (usrgdd | gmail)
# Contributor: cantabile

pkgname=convertlit
pkgver=1.8
pkgrel=5
pkgdesc="An extractor/converter for .LIT eBooks"
arch=('i686' 'x86_64')
url="http://www.convertlit.com/"
license=('GPL')
depends=('glibc')
makedepends=('libtommath')
source=("http://www.convertlit.com/clit18src.zip")
md5sums=('d691d4729485fe5d73e3f0937d8fb42e')

build() {
  cd ${srcdir}/lib
  make 

  cd ../clit18
  sed -i 's|../libtommath-0.30/|/usr/lib/|' Makefile
  make
}

package() {
  cd ${srcdir}/clit18

  install -Dm755 clit "$pkgdir/usr/bin/clit"
}