mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 09:57:14 +08:00
30 lines
638 B
Bash
30 lines
638 B
Bash
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
# contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/convertlit/
|
|
|
|
pkgname=convertlit
|
|
pkgver=1.8
|
|
pkgrel=1
|
|
pkgdesc="An extractor/converter for .LIT eBooks"
|
|
arch=('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"
|
|
}
|