SHARE
TWEET

Untitled

a guest Nov 27th, 2018 113 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Peter Mattern <pmattern at arcor dot de>
  2.  
  3. _pkgname=nomacs
  4. pkgname=$_pkgname-git
  5. pkgver=3.2.0.807.gc82a7f34
  6. pkgrel=1
  7. pkgdesc='Free, open source image viewer, which supports multiple platforms.'
  8. arch=('i686' 'x86_64')
  9. url='http://nomacs.org'
  10. license=('GPL3')
  11. depends=('qt5-svg' 'exiv2' 'libraw' 'opencv' 'desktop-file-utils')
  12. makedepends=('git' 'cmake' 'qt5-tools')
  13. provides=("$_pkgname")
  14. conflicts=("$_pkgname")
  15. source=("git+https://github.com/$_pkgname/$_pkgname.git")
  16. sha256sums=("SKIP")
  17.  
  18. pkgver() {
  19.   cd "$srcdir/$_pkgname"
  20.   git describe --always | sed "s/-/./g"
  21. }
  22.  
  23. build() {
  24.   rm -Rf build && mkdir build
  25.   cd build
  26.   cmake "$srcdir/$_pkgname/ImageLounge" \
  27.     -DCMAKE_INSTALL_PREFIX=/usr \
  28.     -DENABLE_QUAZIP=OFF
  29.   make
  30. }
  31.  
  32. package() {
  33.   cd build
  34.   make DESTDIR="$pkgdir" install
  35. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top