summaryrefslogtreecommitdiff
path: root/extra/djvulibre/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-09-20 20:05:58 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-09-20 20:05:58 -0300
commit1872d2123d241e0a3ef01a50fcdc4596b056bcf4 (patch)
treea9ba894779ea4dc5df5f6d5a9bceae99f4c44e06 /extra/djvulibre/PKGBUILD
parent5a05be089c68617c86c9c555e63f2b0314451ebf (diff)
parent005a14f92ef5d35e4c47d970cb7e69367a835958 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/balsa/PKGBUILD community/bitcoin/PKGBUILD community/jack2/PKGBUILD community/kadu/PKGBUILD community/oss/PKGBUILD core/sudo/PKGBUILD extra/djvulibre/PKGBUILD extra/gtk2/PKGBUILD extra/kdenetwork/PKGBUILD extra/samba/PKGBUILD gnome-unstable/at-spi2-atk/PKGBUILD gnome-unstable/at-spi2-core/PKGBUILD gnome-unstable/glib-networking/PKGBUILD gnome-unstable/glib2/PKGBUILD gnome-unstable/gobject-introspection/PKGBUILD libre/kdenetwork-kopete-libre/PKGBUILD multilib/jack2-multilib/PKGBUILD multilib/lib32-gtk2/PKGBUILD multilib/lib32-sdl/PKGBUILD multilib/wine/PKGBUILD multilib/zsnes/PKGBUILD testing/btrfs-progs/PKGBUILD testing/dnsutils/PKGBUILD testing/man-db/PKGBUILD testing/postgresql/PKGBUILD testing/postgresql/postgresql.install testing/postgresql/postgresql.service testing/procps-ng/PKGBUILD testing/procps-ng/sysctl.conf testing/sudo/PKGBUILD testing/xf86-video-nouveau/PKGBUILD testing/xf86-video-nouveau/xf86-video-nouveau.install
Diffstat (limited to 'extra/djvulibre/PKGBUILD')
-rw-r--r--extra/djvulibre/PKGBUILD51
1 files changed, 24 insertions, 27 deletions
diff --git a/extra/djvulibre/PKGBUILD b/extra/djvulibre/PKGBUILD
index 93ad2c04a..6ddbcf27a 100644
--- a/extra/djvulibre/PKGBUILD
+++ b/extra/djvulibre/PKGBUILD
@@ -1,41 +1,38 @@
-# $Id: PKGBUILD 148700 2012-02-05 11:47:29Z ibiru $
+# $Id: PKGBUILD 166638 2012-09-14 01:48:24Z bisson $
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: mgushee
pkgname=djvulibre
-pkgver=3.5.24
-pkgrel=3
+pkgver=3.5.25.3
+_major=3.5.25
+pkgrel=1
pkgdesc="Suite to create, manipulate and view DjVu ('déjà vu') documents"
+url='http://djvu.sourceforge.net/'
arch=("i686" "x86_64" 'mips64el')
-license=('GPL')
-url="http://djvu.sourceforge.net/"
-depends=('gcc-libs' 'libtiff>=4.0.0' 'bash' 'hicolor-icon-theme')
-makedepends=('pkg-config')
+license=('GPL2')
+options=('!libtool')
+makedepends=('librsvg')
+depends=('libtiff' 'hicolor-icon-theme')
+source=("http://downloads.sourceforge.net/project/djvu/DjVuLibre/${_major}/djvulibre-${pkgver}.tar.gz")
+sha1sums=('ad35056aabb1950f385360ff59520a82a6f779ec')
+
+conflicts=('libdjvu')
provides=("libdjvu=${pkgver}")
replaces=('libdjvu')
-conflicts=('libdjvu')
-optdepends=('djview4: Viewer application')
-options=('!libtool')
-install=djvulibre.install
-source=(http://downloads.sourceforge.net/djvu/${pkgname}-${pkgver}.tar.gz
- git-fixes.patch)
-md5sums=('af83d27af5083198432a178d22b259c5'
- 'ff3798e383e9c3fae407455d8a51deec')
+
+install=install
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i "${srcdir}/git-fixes.patch"
- ./configure --prefix=/usr --disable-desktopfiles
- make
+ cd "${srcdir}/${pkgname}-${_major}"
+ ./configure --prefix=/usr --disable-desktopfiles
+ make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- #Install icons for mime-types.
- install -m755 -d ${pkgdir}/usr/share/icons/hicolor/{22x22,32x32,48x48,64x64}/mimetypes
- for sz in 22 32 48 64; do
- install -m644 desktopfiles/prebuilt-hi${sz}-djvu.png "${pkgdir}/usr/share/icons/hicolor/${sz}x${sz}/mimetypes/image-vnd.djvu.mime.png"
- done
+ cd "${srcdir}/${pkgname}-${_major}"
+ make DESTDIR="${pkgdir}" install
+ for sz in 22 32 48 64; do
+ install -Dm644 desktopfiles/prebuilt-hi${sz}-djvu.png "${pkgdir}/usr/share/icons/hicolor/${sz}x${sz}/mimetypes/image-vnd.djvu.mime.png"
+ done
}