[arch-commits] Commit in djvulibre/repos (6 files)

Antonio Rojas arojas at archlinux.org
Mon Dec 7 01:01:21 UTC 2015


    Date: Monday, December 7, 2015 @ 02:01:21
  Author: arojas
Revision: 253128

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  djvulibre/repos/staging-i686/
  djvulibre/repos/staging-i686/PKGBUILD
    (from rev 253127, djvulibre/trunk/PKGBUILD)
  djvulibre/repos/staging-i686/install
    (from rev 253127, djvulibre/trunk/install)
  djvulibre/repos/staging-x86_64/
  djvulibre/repos/staging-x86_64/PKGBUILD
    (from rev 253127, djvulibre/trunk/PKGBUILD)
  djvulibre/repos/staging-x86_64/install
    (from rev 253127, djvulibre/trunk/install)

-------------------------+
 staging-i686/PKGBUILD   |   37 +++++++++++++++++++++++++++++++++++++
 staging-i686/install    |   13 +++++++++++++
 staging-x86_64/PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 staging-x86_64/install  |   13 +++++++++++++
 4 files changed, 100 insertions(+)

Copied: djvulibre/repos/staging-i686/PKGBUILD (from rev 253127, djvulibre/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-12-07 01:01:21 UTC (rev 253128)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: mgushee
+
+pkgname=djvulibre
+pkgver=3.5.27
+pkgrel=2
+pkgdesc="Suite to create, manipulate and view DjVu ('déjà vu') documents"
+url='http://djvu.sourceforge.net/'
+arch=('i686' 'x86_64')
+license=('GPL2')
+makedepends=('librsvg')
+depends=('libtiff' 'hicolor-icon-theme')
+source=("http://downloads.sourceforge.net/project/djvu/DjVuLibre/${pkgver}/djvulibre-${pkgver}.tar.gz")
+sha1sums=('99c4f2c621c063bf8c8a1626030539fe5a8675f9')
+
+conflicts=('libdjvu')
+provides=("libdjvu=${pkgver}")
+replaces=('libdjvu')
+
+install=install
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./autogen.sh
+	./configure --prefix=/usr --disable-desktopfiles
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	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
+}

Copied: djvulibre/repos/staging-i686/install (from rev 253127, djvulibre/trunk/install)
===================================================================
--- staging-i686/install	                        (rev 0)
+++ staging-i686/install	2015-12-07 01:01:21 UTC (rev 253128)
@@ -0,0 +1,13 @@
+post_install() {
+	if [[ -x usr/bin/gtk-update-icon-cache ]]; then	
+		gtk-update-icon-cache -q -f usr/share/icons/hicolor
+	fi
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: djvulibre/repos/staging-x86_64/PKGBUILD (from rev 253127, djvulibre/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-12-07 01:01:21 UTC (rev 253128)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: mgushee
+
+pkgname=djvulibre
+pkgver=3.5.27
+pkgrel=2
+pkgdesc="Suite to create, manipulate and view DjVu ('déjà vu') documents"
+url='http://djvu.sourceforge.net/'
+arch=('i686' 'x86_64')
+license=('GPL2')
+makedepends=('librsvg')
+depends=('libtiff' 'hicolor-icon-theme')
+source=("http://downloads.sourceforge.net/project/djvu/DjVuLibre/${pkgver}/djvulibre-${pkgver}.tar.gz")
+sha1sums=('99c4f2c621c063bf8c8a1626030539fe5a8675f9')
+
+conflicts=('libdjvu')
+provides=("libdjvu=${pkgver}")
+replaces=('libdjvu')
+
+install=install
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./autogen.sh
+	./configure --prefix=/usr --disable-desktopfiles
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	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
+}

Copied: djvulibre/repos/staging-x86_64/install (from rev 253127, djvulibre/trunk/install)
===================================================================
--- staging-x86_64/install	                        (rev 0)
+++ staging-x86_64/install	2015-12-07 01:01:21 UTC (rev 253128)
@@ -0,0 +1,13 @@
+post_install() {
+	if [[ -x usr/bin/gtk-update-icon-cache ]]; then	
+		gtk-update-icon-cache -q -f usr/share/icons/hicolor
+	fi
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}



More information about the arch-commits mailing list