summaryrefslogtreecommitdiff
path: root/user/convertlit/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/convertlit/APKBUILD')
-rw-r--r--user/convertlit/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/user/convertlit/APKBUILD b/user/convertlit/APKBUILD
new file mode 100644
index 000000000..49cce0d46
--- /dev/null
+++ b/user/convertlit/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=convertlit
+pkgver=1.8
+pkgrel=0
+pkgdesc="Tool to convert Microsoft Reader .LIT files to open formats"
+url="http://www.convertlit.com/"
+arch="all"
+options="!check" # No test suite.
+license="GPL-2.0"
+depends=""
+makedepends="libtommath-dev"
+subpackages=""
+source="http://www.convertlit.com/${pkgname}${pkgver/./}src.zip
+ lib.patch
+ "
+builddir="$srcdir/"
+
+build() {
+ cd "$builddir"
+ make -C lib
+ make -C clit18
+}
+
+package() {
+ cd "$builddir"
+ install -D -m755 clit18/clit "$pkgdir"/usr/bin/clit
+}
+
+sha512sums="0d4b7d525f5164a73a47a00e1c4e93ff50e738a4e6c541ded283c4779e6a67138f601c23a41344517ca5d7f8c9141b25cc6edc7f3967fbf9042e99f647354f36 convertlit18src.zip
+b54a826805f3ce13d75da3c0f8f635235efd8ae1550962b5e44a5c8c67325f996848a3be6f5ba989a849c66a2293a30ac117212786ff36b5c01743aa87f6ef29 lib.patch"