New Paste

 

Recent Pastes

Administrate




Pastebin on paste.luisaranguren.com

PasteID: z
Pasted by Anonymous, 2021-12-19 08:22:43 GMT
Expires Never
Paste size 1.2 Kb
Tools Raw   Download
 
  1. # Maintainer: Luis Aranguren <pizzaman@hotmail.com>  
  2. # Contributor: Ainola  
  3.   
  4. pkgname=imv-git  
  5. pkgver=v4.3.0.r17.gc7306a6  
  6. pkgrel=1  
  7. pkgdesc='imv is a command line image viewer intended for use with tiling window managers, with Wayland and X11 support.'  
  8. url="https://github.com/eXeC64/imv"  
  9. arch=('x86_64' 'i686')  
  10. license=('MIT')  
  11. depends=('libxkbcommon' 'libxkbcommon-x11' 'cairo' 'icu' 'libx11' 'glu' 'libxcb' 'freeimage' 'librsvg' 'desktop-file-utils')  
  12. makedepends=('git' 'asciidoc' 'cmocka' 'meson')  
  13. optdepends=(#wayland  
  14.             'wayland' 'egl-wayland'  
  15.             #image support  
  16.             'libtiff' 'libpng' 'libjpeg-turbo' 'librsvg' 'libnsgif')  
  17. provides=('imv')  
  18. conflicts=('renameutils' 'imv')  
  19. source=("git+https://git.sr.ht/~exec64/imv")  
  20. sha1sums=('SKIP')  
  21.   
  22. pkgver() {  
  23.     cd imv  
  24.     git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'  
  25. }  
  26.   
  27. build() {  
  28.     cd $srcdir/imv  
  29.     meson --prefix /usr --buildtype=plain . build  
  30.     ninja -C build  
  31. }  
  32.   
  33. package() {  
  34.     cd $srcdir/imv  
  35.     DESTDIR="$pkgdir" ninja -C build install  
  36.     install -Dm644 $srcdir/imv/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"  
  37. }  
  38.  

 
 

 
 
 
 
 
Written by Xan Manning, 2010.