1 # Maintainer: Ray Powell <ray_al@xphoniexx.net>
7 pkgdesc="libunrar is part of the RAR compression program. This library is needed by calibre to manipulate rar files"
9 url="http://www.rarlab.com/rar_add.htm"
12 source=("http://www.rarlab.com/rar/unrarsrc-${pkgver}.tar.gz" 'makefile.unix.patch')
13 md5sums=('41b0a9bca945b4ae2608421afd8f606e' '4418970ba2a3a6dd2d3849d27ff49843')
16 cp makefile.unix.patch ${srcdir}/${pkgsrcname}/
17 cd "${srcdir}/${pkgsrcname}"
18 patch makefile.unix < makefile.unix.patch
19 make -f makefile.unix lib
20 install -Dm755 libunrar.so ${pkgdir}/usr/lib/libunrar.so || return 1
22 install -Dm644 license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1