summaryrefslogtreecommitdiff
path: root/extra/convertlit
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-07 23:14:52 +0000
committerroot <root@rshg054.dnsready.net>2011-12-07 23:14:52 +0000
commit6f9a9504db6338f0c35c4ca70bad42965b74791a (patch)
tree8cd9006f99ed08350063a734502b77e1d0ee7db4 /extra/convertlit
parent8736f458a17a03cf79a763a0c8122f93162fed71 (diff)
Wed Dec 7 23:14:52 UTC 2011
Diffstat (limited to 'extra/convertlit')
-rw-r--r--extra/convertlit/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/convertlit/PKGBUILD b/extra/convertlit/PKGBUILD
new file mode 100644
index 000000000..4c7477666
--- /dev/null
+++ b/extra/convertlit/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 144473 2011-12-06 12:35:16Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: gDD (usrgdd | gmail)
+# Contributor: cantabile
+
+pkgname=convertlit
+pkgver=1.8
+pkgrel=6
+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"
+}