diff options
author | root <root@rshg054.dnsready.net> | 2013-07-07 01:07:47 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-07 01:07:47 -0700 |
commit | 455d703ab39bf20f269631adbc2db8e6d74070ea (patch) | |
tree | 20a5a606fb39b15e97c5777ba93dff2d0d09cc5d /community/nomacs | |
parent | f37cbd892db45b858a9a876c3aea2f007803b7e1 (diff) |
Sun Jul 7 01:07:31 PDT 2013
Diffstat (limited to 'community/nomacs')
-rw-r--r-- | community/nomacs/PKGBUILD | 30 | ||||
-rw-r--r-- | community/nomacs/nomacs.install | 11 |
2 files changed, 41 insertions, 0 deletions
diff --git a/community/nomacs/PKGBUILD b/community/nomacs/PKGBUILD new file mode 100644 index 000000000..f7041dc5a --- /dev/null +++ b/community/nomacs/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 93593 2013-07-06 18:56:13Z speps $ +# 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: diff --git a/community/nomacs/nomacs.install b/community/nomacs/nomacs.install new file mode 100644 index 000000000..e111ef946 --- /dev/null +++ b/community/nomacs/nomacs.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |