summaryrefslogtreecommitdiff
path: root/pcr/minidjvu
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-11-08 15:43:45 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-11-08 15:43:45 -0300
commit01be72ba37c7a000cff66e782a0a7dc7f81e998f (patch)
tree3ba7de1e871145d776082aea5703ef1b0a545b1d /pcr/minidjvu
parenta48d075b90120462b9f97ab95a224d47e072f7dd (diff)
parent87a379782f447a957917250334350b25c431ad1f (diff)
downloadabslibre-01be72ba37c7a000cff66e782a0a7dc7f81e998f.tar.gz
abslibre-01be72ba37c7a000cff66e782a0a7dc7f81e998f.tar.bz2
abslibre-01be72ba37c7a000cff66e782a0a7dc7f81e998f.zip
Merge branch 'master' of ssh://gparabola/srv/git/abslibre
Diffstat (limited to 'pcr/minidjvu')
-rw-r--r--pcr/minidjvu/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/pcr/minidjvu/PKGBUILD b/pcr/minidjvu/PKGBUILD
new file mode 100644
index 000000000..168f035cc
--- /dev/null
+++ b/pcr/minidjvu/PKGBUILD
@@ -0,0 +1,27 @@
+# Contributor: Orivej Desh <masecretaire@gmx.fr>
+# Maintainer: Orivej Desh <masecretaire@gmx.fr>
+pkgname=minidjvu
+pkgver=0.8
+pkgrel=3
+pkgdesc="Highly efficient DjVu encoder for black-and-white images"
+arch=('i686' 'x86_64')
+url="http://minidjvu.sourceforge.net/"
+license=('GPL')
+depends=("libtiff")
+options=("!libtool" "!makeflags")
+source=("http://downloads.sourceforge.net/project/minidjvu/minidjvu/$pkgver/minidjvu-$pkgver.tar.gz")
+md5sums=('b354eb74d83c6e2d91aab2a6c2879ba7')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr --libdir=/usr/lib
+ sed -i -e 's#-9 \$(MANDIR)#-9 $(DESTDIR)$(MANDIR)#' Makefile
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ mkdir -p "$pkgdir"/usr/{bin,lib,share/man/man1}
+ make DESTDIR="$pkgdir/" install
+}
+