Date: Monday, December 7, 2015 @ 06:06:28
  Author: foutrelis
Revision: 149559

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

Added:
  djview/repos/community-staging-i686/
  djview/repos/community-staging-i686/PKGBUILD
    (from rev 149558, djview/trunk/PKGBUILD)
  djview/repos/community-staging-i686/install
    (from rev 149558, djview/trunk/install)
  djview/repos/community-staging-x86_64/
  djview/repos/community-staging-x86_64/PKGBUILD
    (from rev 149558, djview/trunk/PKGBUILD)
  djview/repos/community-staging-x86_64/install
    (from rev 149558, djview/trunk/install)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   38 ++++++++++++++++++++++++++++++++++++
 community-staging-i686/install    |   12 +++++++++++
 community-staging-x86_64/PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/install  |   12 +++++++++++
 4 files changed, 100 insertions(+)

Copied: djview/repos/community-staging-i686/PKGBUILD (from rev 149558, 
djview/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2015-12-07 05:06:28 UTC (rev 149559)
@@ -0,0 +1,38 @@
+# $Id$
+# Contributor: Paulo Matias <matias.archlinux-br.org>
+# Contributor: Leslie P. Polzer <polzer.gnu.org>
+# Contributor: erm67 <erm67.yahoo.it>
+# Contributor: Daniel J Griffiths
+# Maintainer: Gaetan Bisson <bis...@archlinux.org>
+
+pkgname=djview
+pkgver=4.10
+pkgrel=3
+pkgdesc='Portable DjVu viewer and browser plugin'
+url='http://djvu.sourceforge.net/djview4.html'
+license=('GPL')
+arch=('i686' 'x86_64')
+makedepends=('qt5-tools')
+depends=('qt5-base' 'djvulibre'
+         'libxkbcommon-x11' 'libsm')
+source=("http://downloads.sourceforge.net/djvu/${pkgname}-${pkgver}.tar.gz";)
+sha1sums=('7526d23aa501ce34468e42f094f49b6b96cce186')
+
+conflicts=('djview4')
+provides=('djview4')
+replaces=('djview4')
+
+install=install
+
+build() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       export QMAKE=qmake-qt5
+       ./configure --prefix=/usr
+       make
+}
+
+package() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       make DESTDIR="${pkgdir}" install
+       ln -s djview "${pkgdir}"/usr/bin/djview4
+}

Copied: djview/repos/community-staging-i686/install (from rev 149558, 
djview/trunk/install)
===================================================================
--- community-staging-i686/install                              (rev 0)
+++ community-staging-i686/install      2015-12-07 05:06:28 UTC (rev 149559)
@@ -0,0 +1,12 @@
+post_install() {
+       xdg-icon-resource forceupdate --theme hicolor &> /dev/null || true
+       update-desktop-database -q || true
+}
+
+post_upgrade() {
+       post_install
+}
+
+post_remove() {
+       post_install
+}

Copied: djview/repos/community-staging-x86_64/PKGBUILD (from rev 149558, 
djview/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-12-07 05:06:28 UTC (rev 149559)
@@ -0,0 +1,38 @@
+# $Id$
+# Contributor: Paulo Matias <matias.archlinux-br.org>
+# Contributor: Leslie P. Polzer <polzer.gnu.org>
+# Contributor: erm67 <erm67.yahoo.it>
+# Contributor: Daniel J Griffiths
+# Maintainer: Gaetan Bisson <bis...@archlinux.org>
+
+pkgname=djview
+pkgver=4.10
+pkgrel=3
+pkgdesc='Portable DjVu viewer and browser plugin'
+url='http://djvu.sourceforge.net/djview4.html'
+license=('GPL')
+arch=('i686' 'x86_64')
+makedepends=('qt5-tools')
+depends=('qt5-base' 'djvulibre'
+         'libxkbcommon-x11' 'libsm')
+source=("http://downloads.sourceforge.net/djvu/${pkgname}-${pkgver}.tar.gz";)
+sha1sums=('7526d23aa501ce34468e42f094f49b6b96cce186')
+
+conflicts=('djview4')
+provides=('djview4')
+replaces=('djview4')
+
+install=install
+
+build() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       export QMAKE=qmake-qt5
+       ./configure --prefix=/usr
+       make
+}
+
+package() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       make DESTDIR="${pkgdir}" install
+       ln -s djview "${pkgdir}"/usr/bin/djview4
+}

Copied: djview/repos/community-staging-x86_64/install (from rev 149558, 
djview/trunk/install)
===================================================================
--- community-staging-x86_64/install                            (rev 0)
+++ community-staging-x86_64/install    2015-12-07 05:06:28 UTC (rev 149559)
@@ -0,0 +1,12 @@
+post_install() {
+       xdg-icon-resource forceupdate --theme hicolor &> /dev/null || true
+       update-desktop-database -q || true
+}
+
+post_upgrade() {
+       post_install
+}
+
+post_remove() {
+       post_install
+}

Reply via email to