[arch-commits] Commit in djview/repos (6 files)
Gaetan Bisson
bisson at archlinux.org
Fri Feb 20 08:28:28 UTC 2015
Date: Friday, February 20, 2015 @ 09:28:28
Author: bisson
Revision: 128017
archrelease: copy trunk to community-i686, community-x86_64
Added:
djview/repos/community-i686/
djview/repos/community-i686/PKGBUILD
(from rev 128016, djview/trunk/PKGBUILD)
djview/repos/community-i686/install
(from rev 128016, djview/trunk/install)
djview/repos/community-x86_64/
djview/repos/community-x86_64/PKGBUILD
(from rev 128016, djview/trunk/PKGBUILD)
djview/repos/community-x86_64/install
(from rev 128016, djview/trunk/install)
---------------------------+
community-i686/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
community-i686/install | 12 ++++++++++++
community-x86_64/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
community-x86_64/install | 12 ++++++++++++
4 files changed, 98 insertions(+)
Copied: djview/repos/community-i686/PKGBUILD (from rev 128016, djview/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-02-20 08:28:28 UTC (rev 128017)
@@ -0,0 +1,37 @@
+# $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 <bisson at archlinux.org>
+
+pkgname=djview
+pkgver=4.10
+pkgrel=1
+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')
+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-i686/install (from rev 128016, djview/trunk/install)
===================================================================
--- community-i686/install (rev 0)
+++ community-i686/install 2015-02-20 08:28:28 UTC (rev 128017)
@@ -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-x86_64/PKGBUILD (from rev 128016, djview/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-02-20 08:28:28 UTC (rev 128017)
@@ -0,0 +1,37 @@
+# $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 <bisson at archlinux.org>
+
+pkgname=djview
+pkgver=4.10
+pkgrel=1
+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')
+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-x86_64/install (from rev 128016, djview/trunk/install)
===================================================================
--- community-x86_64/install (rev 0)
+++ community-x86_64/install 2015-02-20 08:28:28 UTC (rev 128017)
@@ -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
+}
More information about the arch-commits
mailing list