🔒 Repository is read-only – file editing is disabled.

recipes/gui/xreader/PAGBUILD.yaml main

56 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
pkgname: xreader
pkgver: '4.6.5'
pkgrel: '1'
pkgdesc: 'Document viewer for files like PDF and Postscript. X-Apps Project.'
url: 'https://github.com/linuxmint/xreader'
arch: x86_64
license:
- GPL2

depends:
- 'poppler-glib'
- 'webkit2gtk-4'
- xapp

makedepends:
- meson
- samurai
- intltool
- itstool
- 'gobject-introspection'
- djvulibre
- libgxps
- libspectre

source:
- 'https://github.com/linuxmint/${pkgname}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  cd ${pkgname}-${pkgver}

  mkdir build
  cd    build

  meson setup .. \
    --prefix=/usr \
    --libexecdir=lib/${pkgname} \
    -Dmathjax-directory=/usr/share/mathjax2 \
    -Dcomics=true \
    -Ddjvu=true \
    -Dt1lib=true \
    -Dpixbuf=true \
    -Dhelp_files=true \
    -Dintrospection=true

    samu

    DESTDIR=${PKGDIR} samu install

  install -Dm644 ../COPYING ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING


package: |
  true