diff options
author | root <root@rshg054.dnsready.net> | 2012-09-15 00:03:54 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-09-15 00:03:54 +0000 |
commit | 58bcf29e17b49063f0be13069151b9890cb5c6a6 (patch) | |
tree | 93ffa4e6d734fbe0d0f4f47e2451a2bce48ab761 /extra/djvulibre/PKGBUILD | |
parent | c7e751e3633b2e10c0ffcc68e4ce676f725f0843 (diff) |
Sat Sep 15 00:03:54 UTC 2012
Diffstat (limited to 'extra/djvulibre/PKGBUILD')
-rw-r--r-- | extra/djvulibre/PKGBUILD | 53 |
1 files changed, 25 insertions, 28 deletions
diff --git a/extra/djvulibre/PKGBUILD b/extra/djvulibre/PKGBUILD index 75cd92aef..572a6c552 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" -arch=("i686" "x86_64") -license=('GPL') -url="http://djvu.sourceforge.net/" -depends=('gcc-libs' 'libtiff>=4.0.0' 'bash' 'hicolor-icon-theme') -makedepends=('pkg-config') +url='http://djvu.sourceforge.net/' +arch=('i686' 'x86_64') +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 } |