Date: Thursday, September 22, 2022 @ 18:13:01
  Author: andyrtr
Revision: 1309058

archrelease: copy trunk to community-staging-x86_64

Added:
  xreader/repos/community-staging-x86_64/
  xreader/repos/community-staging-x86_64/PKGBUILD
    (from rev 1309057, xreader/trunk/PKGBUILD)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: xreader/repos/community-staging-x86_64/PKGBUILD (from rev 1309057, 
xreader/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-22 18:13:01 UTC (rev 1309058)
@@ -0,0 +1,41 @@
+# Maintainer: Bruno Pagani <[email protected]>
+# Contributor: Eli Schwartz <[email protected]>
+# Contributor: Nate Simon <aurpkg (at natesimon.net)>
+
+pkgname=xreader
+pkgver=3.4.5
+pkgrel=2
+pkgdesc="Document viewer for files like PDF and Postscript. X-Apps Project."
+arch=(x86_64)
+url="https://github.com/linuxmint/${pkgname}";
+license=(GPL)
+groups=(x-apps)
+depends=(poppler-glib webkit2gtk xapp)
+optdepends=('djvulibre: support for djvu files'
+            'libgxps: support for xps files'
+            'libspectre: support for dvi and ps files'
+            'mathjax2: support for math in epub files'
+            'texlive-bin: support for dvi files')
+makedepends=(meson samurai intltool itstool gobject-introspection djvulibre
+             libgxps libspectre texlive-bin)
+source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('8b62ab97116bab7eeb7f38ac31de773065e79230cf12aa4388d6c76780e73f76')
+b2sums=('815afc61d1552f42c95fb0282972e6925319f3bdb0d8c241177ddc60bad7294cb1e34bcd3401cedcd8fe9ed31cbd4ee0d5d0e129968537bfa58d221515ad8d55')
+
+build() {
+  arch-meson ${pkgname}-${pkgver} build \
+    --libexecdir=lib/${pkgname} \
+    -Dmathjax-directory=/usr/share/mathjax2 \
+    -Dcomics=true \
+    -Ddjvu=true \
+    -Ddvi=true \
+    -Dt1lib=true \
+    -Dpixbuf=true \
+    -Dhelp_files=true \
+    -Dintrospection=true
+  samu -C build
+}
+
+package(){
+  DESTDIR="${pkgdir}" samu -C build install
+}

Reply via email to