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

recipes/gui/atril/PAGBUILD.yaml main

34 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031323334
pkgname: atril
pkgver: '1.28.6'
pkgrel: 1
pkgdesc: Simply a pdf document viewer
url: 'https://mate-desktop.org/'
arch: x86_64
license:
- GPL-2.0
depends: []
makedepends:
- djvulibre
- libsecret
- libspectre
- poppler-glib
- poppler
- webkit2gtk-4
- libsynctex
source:
- mate-desktop.patch
- 'https://github.com/mate-desktop/atril/archive/refs/tags/v${pkgver}.tar.gz'
sha256sums:
- SKIP
- SKIP
build: |
  cd ${pkgname}-${pkgver}
  sed -i "/mate_desktop/d" meson.build

  patch -Np1 -i ../mate-desktop.patch
  meson setup --prefix /usr --buildtype plain --libexecdir lib --sbindir bin -D b_pie=true . builddir
  meson compile -C builddir
  DESTDIR=${PKGDIR} meson install -C builddir
package: |
  install -Dm644 ${pkgname}-${pkgver}/COPYING \
  ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING