2016-02-24 01:27:23 +01:00
|
|
|
# Description: Suite to create, manipulate and view DjVu ('déjà vu') documents
|
|
|
|
# URL: URL: http://djvu.sourceforge.net
|
2017-01-31 01:37:09 +01:00
|
|
|
# Packager: milisarge
|
|
|
|
# Depends on: librsvg libtiff libjpeg-turbo hicolor-icon-theme
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
name=djvulibre
|
|
|
|
version=3.5.25.3
|
|
|
|
release=1
|
|
|
|
source=(
|
|
|
|
http://downloads.sourceforge.net/djvu/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build(){
|
|
|
|
cd $name-3.5.25
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--disable-desktopfiles
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
for i in 22 32 48 64; do
|
|
|
|
install -Dm644 desktopfiles/prebuilt-hi${i}-djvu.png \
|
|
|
|
$PKG/usr/share/icons/hicolor/${i}x${i}/mimetypes/image-vnd.djvu.mime.png
|
|
|
|
done
|
|
|
|
}
|