[arch-commits] Commit in (5 files)
speps
speps at nymeria.archlinux.org
Sat Jul 6 18:47:40 UTC 2013
Date: Saturday, July 6, 2013 @ 20:47:40
Author: speps
Revision: 93591
addpkg: nomacs 1.2.0
Added:
nomacs/
nomacs/repos/
nomacs/trunk/
nomacs/trunk/PKGBUILD
nomacs/trunk/nomacs.install
----------------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
nomacs.install | 11 +++++++++++
2 files changed, 41 insertions(+)
Added: nomacs/trunk/PKGBUILD
===================================================================
--- nomacs/trunk/PKGBUILD (rev 0)
+++ nomacs/trunk/PKGBUILD 2013-07-06 18:47:40 UTC (rev 93591)
@@ -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:
Property changes on: nomacs/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: nomacs/trunk/nomacs.install
===================================================================
--- nomacs/trunk/nomacs.install (rev 0)
+++ nomacs/trunk/nomacs.install 2013-07-06 18:47:40 UTC (rev 93591)
@@ -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