yochananmarqos

xviewer

Feb 27th, 2021
1,385
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Nate Simon <njsimon10@gmail.com>
  2.  
  3. pkgname=xviewer
  4. pkgver=2.8.3
  5. pkgrel=2
  6. pkgdesc="A simple and easy to use image viewer. X-Apps Project."
  7. arch=('i686' 'x86_64' 'armv7h')
  8. url='https://github.com/linuxmint/xviewer'
  9. license=('GPL')
  10. depends=('xapp' 'gtk3' 'cinnamon-desktop' 'libpeas' 'libexif' 'libjpeg-turbo')
  11. makedepends=('gnome-common' 'gobject-introspection' 'librsvg')
  12. optdepends=('xviewer-plugins: Extra plugins'
  13.             'librsvg: for scaling svg images')
  14. source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
  15. md5sums=('04a981b75dabe8ecd8a94348e13ad4f2')
  16.  
  17. build() {
  18.     cd ${pkgname}-${pkgver}
  19.     NOCONFIGURE=1 gnome-autogen.sh
  20.     ./configure \
  21.         --prefix="/usr" \
  22.         --localstatedir="/var" \
  23.         --libexecdir="/usr/lib"
  24.     make
  25. }
  26.  
  27. check() {
  28.     cd ${pkgname}-${pkgver}
  29.     make check
  30. }
  31.  
  32. package(){
  33.     cd ${pkgname}-${pkgver}
  34.     make DESTDIR="$pkgdir/" install
  35. }
RAW Paste Data