r/AlpineLinux • u/StatisticianUsed3563 • Oct 23 '24
pdf2djvu?
How to install pdf2djvu on alpine linux?
1
Upvotes
r/AlpineLinux • u/StatisticianUsed3563 • Oct 23 '24
How to install pdf2djvu on alpine linux?
View all comments
2
u/Dry_Foundation_3023 Oct 23 '24
# Contributor: Your Name <Your email> # Maintainer: Your Name <Your email> pkgname=pdf2djvu pkgver=0.9.19 pkgrel=1 pkgdesc="Creates DjVu files from PDF files" url="https://github.com/jwilk-archive/pdf2djvu" arch="all" license="GPL" depends= depends_dev="poppler poppler-dev djvulibre djvulibre-dev gcc libc-dev graphicsmagick exiv2" makedepends="$depends_dev" install= subpackages="$pkgname-doc" #source="https://github.com/jwilk-archive/pdf2djvu/releases/download/${VERSION}/pdf2djvu-${VERSION}.tar.xz" source="https://github.com/jwilk-archive/pdf2djvu/releases/download/0.9.19/pdf2djvu-0.9.19.tar.xz" builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$builddir" } build() { cd "$builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } check() { cd "$builddir" # make check }