summaryrefslogtreecommitdiff
path: root/community/convertlit
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-29 23:14:46 +0000
committerroot <root@rshg054.dnsready.net>2011-11-29 23:14:46 +0000
commit946f0c9fe48dfb648a8a0be065e92f237ce210fd (patch)
tree13387ae15c5ab9a50acdaa6ab02a076319c19047 /community/convertlit
parent83c3c42a38bda36bdc56d594318958bc4cfd9b32 (diff)
Tue Nov 29 23:14:46 UTC 2011
Diffstat (limited to 'community/convertlit')
-rw-r--r--community/convertlit/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/convertlit/PKGBUILD b/community/convertlit/PKGBUILD
new file mode 100644
index 000000000..3cfb61356
--- /dev/null
+++ b/community/convertlit/PKGBUILD
@@ -0,0 +1,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"
+}