blob: dad32bf024dad077b0167256c809d9cd34313d69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Markus Schaaf <markuschaaf@gmail.com>
pkgname=minidjvu
pkgver=0.8
pkgrel=5
pkgdesc='Highly efficient DjVu encoder for black-and-white images'
arch=(i686 x86_64)
url="http://$pkgname.sourceforge.net/"
license=(GPL)
depends=(libtiff)
source=(
"http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz"
depend-lib-app.patch
)
md5sums=(
b354eb74d83c6e2d91aab2a6c2879ba7
6df7ee0413af8f86211f97e73eacc36e
)
prepare() {
for p in *.patch ; do patch -Np0 < $p ; done
}
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --libdir=/usr/lib
sed -i -e 's#-9 \$(MANDIR)#-9 $(DESTDIR)$(MANDIR)#' Makefile
make
}
package() {
cd $pkgname-$pkgver
install -d "$pkgdir"/usr/{bin,lib,share/man/man1}
make DESTDIR="$pkgdir/" install
}
|