[arch-commits] Commit in nomacs/repos (3 files)

Ray Rashif schiv at archlinux.org
Fri Jul 10 19:00:37 UTC 2015


    Date: Friday, July 10, 2015 @ 21:00:37
  Author: schiv
Revision: 136662

archrelease: copy trunk to community-staging-x86_64

Added:
  nomacs/repos/community-staging-x86_64/
  nomacs/repos/community-staging-x86_64/PKGBUILD
    (from rev 136661, nomacs/trunk/PKGBUILD)
  nomacs/repos/community-staging-x86_64/nomacs.install
    (from rev 136661, nomacs/trunk/nomacs.install)

----------------+
 PKGBUILD       |   33 +++++++++++++++++++++++++++++++++
 nomacs.install |   11 +++++++++++
 2 files changed, 44 insertions(+)

Copied: nomacs/repos/community-staging-x86_64/PKGBUILD (from rev 136661, nomacs/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-07-10 19:00:37 UTC (rev 136662)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: speps <speps at aur dot archlinux dot org>
+
+pkgname=nomacs
+pkgver=2.4.4
+pkgrel=2
+pkgdesc="A Qt image viewer"
+arch=(i686 x86_64)
+url="http://www.nomacs.org/"
+license=('GPL3')
+depends=('qt4' 'exiv2' 'libraw' 'opencv')
+makedepends=('cmake')
+install="$pkgname.install"
+source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver-source.tar.bz2")
+md5sums=('88c1e2f9adc37bbd4c2fbbc4b7aabd37')
+
+prepare() {
+  cd $pkgname-$pkgver
+  [ -d b ] || mkdir b
+}
+
+build() {
+  cd $pkgname-$pkgver/b
+  cmake .. -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver/b
+  make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: nomacs/repos/community-staging-x86_64/nomacs.install (from rev 136661, nomacs/trunk/nomacs.install)
===================================================================
--- community-staging-x86_64/nomacs.install	                        (rev 0)
+++ community-staging-x86_64/nomacs.install	2015-07-10 19:00:37 UTC (rev 136662)
@@ -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