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

Kyle Keen kkeen at nymeria.archlinux.org
Sun Dec 29 03:26:56 UTC 2013


    Date: Sunday, December 29, 2013 @ 04:26:56
  Author: kkeen
Revision: 103185

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

Added:
  qiv/repos/community-i686/PKGBUILD
    (from rev 103184, qiv/trunk/PKGBUILD)
  qiv/repos/community-i686/qiv.install
    (from rev 103184, qiv/trunk/qiv.install)
  qiv/repos/community-x86_64/PKGBUILD
    (from rev 103184, qiv/trunk/PKGBUILD)
  qiv/repos/community-x86_64/qiv.install
    (from rev 103184, qiv/trunk/qiv.install)
Deleted:
  qiv/repos/community-i686/PKGBUILD
  qiv/repos/community-x86_64/PKGBUILD

------------------------------+
 /PKGBUILD                    |   74 +++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD      |   25 -------------
 community-i686/qiv.install   |   11 ++++++
 community-x86_64/PKGBUILD    |   25 -------------
 community-x86_64/qiv.install |   11 ++++++
 5 files changed, 96 insertions(+), 50 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-12-29 03:26:12 UTC (rev 103184)
+++ community-i686/PKGBUILD	2013-12-29 03:26:56 UTC (rev 103185)
@@ -1,25 +0,0 @@
-# $Id$
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-# Maintainer: Paul Mattal <paul at archlinux.org>
-
-pkgname=qiv
-pkgver=2.2.4
-pkgrel=2
-pkgdesc="Quick Image Viewer (qiv) is a very small and fast GDK/Imlib image viewer"
-arch=('i686' 'x86_64')
-url="http://spiegl.de/qiv/"
-license=('GPL2')
-depends=('file' 'gtk2' 'imlib2')
-source=(http://spiegl.de/qiv/download/$pkgname-$pkgver.tgz)
-md5sums=('1425f89c90f9c045858fccf24d894c97')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  install -D -m 0755 qiv "$pkgdir/usr/bin/qiv"
-  install -D -m 0644 qiv.1 "$pkgdir/usr/share/man/man1/qiv.1"
-}

Copied: qiv/repos/community-i686/PKGBUILD (from rev 103184, qiv/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-12-29 03:26:56 UTC (rev 103185)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Contributor: Paul Mattal <paul at archlinux.org>
+
+pkgname=qiv
+pkgver=2.3.1
+pkgrel=1
+pkgdesc="Quick Image Viewer (qiv) is a very small and fast GDK/Imlib image viewer"
+arch=('i686' 'x86_64')
+url="http://spiegl.de/qiv/"
+license=('GPL2')
+depends=('file' 'gtk2' 'imlib2' 'libexif' 'lcms2' 'desktop-file-utils')
+install=qiv.install
+source=(http://spiegl.de/qiv/download/$pkgname-$pkgver.tgz)
+md5sums=('93aea7469be64ebd35277a6dac079fc8')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  sed -i "s|^PREFIX = .*|PREFIX = /usr|" Makefile
+  sed -i "s|\./qiv|echo &|" Makefile  # nuke test
+  sed -i "s|/man/|/share&|" Makefile
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  sed -i "s|^PREFIX = .*|PREFIX = $pkgdir/usr|" Makefile
+  make install
+
+  install -D -m 0644 README "$pkgdir/usr/share/doc/qiv/README"
+  install -d "$pkgdir/usr/share/doc/qiv/contrib"
+  cp contrib/* "$pkgdir/usr/share/doc/qiv/contrib"
+  #install -D -m 0755 contrib/gps2url.py "$pkgdir/usr/share/doc/qiv/contrib/gps2url.py"
+  #install -D -m 0755 contrib/qiv-command.example "$pkgdir/usr/share/doc/qiv/contrib/qiv-command.example"
+}
+

Copied: qiv/repos/community-i686/qiv.install (from rev 103184, qiv/trunk/qiv.install)
===================================================================
--- community-i686/qiv.install	                        (rev 0)
+++ community-i686/qiv.install	2013-12-29 03:26:56 UTC (rev 103185)
@@ -0,0 +1,11 @@
+post_install() {
+    update-desktop-database -q
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-12-29 03:26:12 UTC (rev 103184)
+++ community-x86_64/PKGBUILD	2013-12-29 03:26:56 UTC (rev 103185)
@@ -1,25 +0,0 @@
-# $Id$
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-# Maintainer: Paul Mattal <paul at archlinux.org>
-
-pkgname=qiv
-pkgver=2.2.4
-pkgrel=2
-pkgdesc="Quick Image Viewer (qiv) is a very small and fast GDK/Imlib image viewer"
-arch=('i686' 'x86_64')
-url="http://spiegl.de/qiv/"
-license=('GPL2')
-depends=('file' 'gtk2' 'imlib2')
-source=(http://spiegl.de/qiv/download/$pkgname-$pkgver.tgz)
-md5sums=('1425f89c90f9c045858fccf24d894c97')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  install -D -m 0755 qiv "$pkgdir/usr/bin/qiv"
-  install -D -m 0644 qiv.1 "$pkgdir/usr/share/man/man1/qiv.1"
-}

Copied: qiv/repos/community-x86_64/PKGBUILD (from rev 103184, qiv/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-12-29 03:26:56 UTC (rev 103185)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Contributor: Paul Mattal <paul at archlinux.org>
+
+pkgname=qiv
+pkgver=2.3.1
+pkgrel=1
+pkgdesc="Quick Image Viewer (qiv) is a very small and fast GDK/Imlib image viewer"
+arch=('i686' 'x86_64')
+url="http://spiegl.de/qiv/"
+license=('GPL2')
+depends=('file' 'gtk2' 'imlib2' 'libexif' 'lcms2' 'desktop-file-utils')
+install=qiv.install
+source=(http://spiegl.de/qiv/download/$pkgname-$pkgver.tgz)
+md5sums=('93aea7469be64ebd35277a6dac079fc8')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  sed -i "s|^PREFIX = .*|PREFIX = /usr|" Makefile
+  sed -i "s|\./qiv|echo &|" Makefile  # nuke test
+  sed -i "s|/man/|/share&|" Makefile
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  sed -i "s|^PREFIX = .*|PREFIX = $pkgdir/usr|" Makefile
+  make install
+
+  install -D -m 0644 README "$pkgdir/usr/share/doc/qiv/README"
+  install -d "$pkgdir/usr/share/doc/qiv/contrib"
+  cp contrib/* "$pkgdir/usr/share/doc/qiv/contrib"
+  #install -D -m 0755 contrib/gps2url.py "$pkgdir/usr/share/doc/qiv/contrib/gps2url.py"
+  #install -D -m 0755 contrib/qiv-command.example "$pkgdir/usr/share/doc/qiv/contrib/qiv-command.example"
+}
+

Copied: qiv/repos/community-x86_64/qiv.install (from rev 103184, qiv/trunk/qiv.install)
===================================================================
--- community-x86_64/qiv.install	                        (rev 0)
+++ community-x86_64/qiv.install	2013-12-29 03:26:56 UTC (rev 103185)
@@ -0,0 +1,11 @@
+post_install() {
+    update-desktop-database -q
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}




More information about the arch-commits mailing list