[arch-commits] Commit in nomacs/repos (3 files)
speps
speps at nymeria.archlinux.org
Sat Jul 6 18:48:29 UTC 2013
Date: Saturday, July 6, 2013 @ 20:48:28
Author: speps
Revision: 93592
archrelease: copy trunk to community-x86_64
Added:
nomacs/repos/community-x86_64/
nomacs/repos/community-x86_64/PKGBUILD
(from rev 93591, nomacs/trunk/PKGBUILD)
nomacs/repos/community-x86_64/nomacs.install
(from rev 93591, nomacs/trunk/nomacs.install)
----------------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
nomacs.install | 11 +++++++++++
2 files changed, 41 insertions(+)
Copied: nomacs/repos/community-x86_64/PKGBUILD (from rev 93591, nomacs/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2013-07-06 18:48:28 UTC (rev 93592)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: speps <speps at aur dot archlinux dot org>
+
+pkgname=nomacs
+pkgver=1.2.0
+pkgrel=1
+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=('0fdef67b960276375024f270dfaa4b93')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ [ -d bld ] || mkdir bld && cd bld
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+ -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver/bld"
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et:
Copied: nomacs/repos/community-x86_64/nomacs.install (from rev 93591, nomacs/trunk/nomacs.install)
===================================================================
--- community-x86_64/nomacs.install (rev 0)
+++ community-x86_64/nomacs.install 2013-07-06 18:48:28 UTC (rev 93592)
@@ -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