24 lines
648 B
Plaintext
24 lines
648 B
Plaintext
# Description: Suite to create, manipulate and view DjVu ('déjà vu') documents
|
|
# URL: URL: http://djvu.sourceforge.net
|
|
# Packager: milisarge
|
|
# Depends on: librsvg libtiff libjpeg-turbo hicolor-icon-theme
|
|
|
|
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
|
|
}
|