[arch-commits] Commit in xreader/repos/community-x86_64 (PKGBUILD PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Sun Nov 14 11:12:40 UTC 2021
Date: Sunday, November 14, 2021 @ 11:12:40
Author: archange
Revision: 1047371
archrelease: copy trunk to community-x86_64
Added:
xreader/repos/community-x86_64/PKGBUILD
(from rev 1047370, xreader/trunk/PKGBUILD)
Deleted:
xreader/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 92 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 44 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-14 11:12:16 UTC (rev 1047370)
+++ PKGBUILD 2021-11-14 11:12:40 UTC (rev 1047371)
@@ -1,48 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-# Contributor: Nate Simon <aurpkg (at natesimon.net)>
-
-pkgname=xreader
-pkgver=3.0.2
-pkgrel=1
-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' 'xapps')
-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=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('a2e32274787723e81afeb62390c92b64f0ad222e3ca6295704535e5c499fdd28')
-b2sums=('3534f16b16ef73dfe58c62a5dc82bf13f7f68bea4a7646e65e612af6a6ff6250f3989c999f039d6d7044eeb30791554d660ee159e7f064e810f81d0e8f6a3f87')
-
-build() {
- mkdir -p "${srcdir}"/${pkgname}-${pkgver}/build
- cd "${srcdir}"/${pkgname}-${pkgver}/build
-
- meson --prefix=/usr \
- --libexecdir=lib/${pkgname} \
- --buildtype=plain \
- -Dmathjax-directory=/usr/share/mathjax2 \
- -Dcomics=true \
- -Ddjvu=true \
- -Ddvi=true \
- -Dt1lib=true \
- -Dpixbuf=true \
- -Dintrospection=true \
- -Dhelp_files=true \
- -Dtests=false \
- ..
- samu
-}
-
-package(){
- cd "${srcdir}"/${pkgname}-${pkgver}/build
-
- DESTDIR="${pkgdir}" samu install
-}
Copied: xreader/repos/community-x86_64/PKGBUILD (from rev 1047370, xreader/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-14 11:12:40 UTC (rev 1047371)
@@ -0,0 +1,44 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Nate Simon <aurpkg (at natesimon.net)>
+
+pkgname=xreader
+pkgver=3.0.2
+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 xapps)
+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=('a2e32274787723e81afeb62390c92b64f0ad222e3ca6295704535e5c499fdd28')
+b2sums=('3534f16b16ef73dfe58c62a5dc82bf13f7f68bea4a7646e65e612af6a6ff6250f3989c999f039d6d7044eeb30791554d660ee159e7f064e810f81d0e8f6a3f87')
+
+build() {
+ mkdir -p build
+ cd build
+ arch-meson --libexecdir=lib/${pkgname} \
+ -Dmathjax-directory=/usr/share/mathjax2 \
+ -Dcomics=true \
+ -Ddjvu=true \
+ -Ddvi=true \
+ -Dt1lib=true \
+ -Dpixbuf=true \
+ -Dhelp_files=true \
+ -Dintrospection=true \
+ ../${pkgname}-${pkgver}
+ samu
+}
+
+package(){
+ cd build
+ DESTDIR="${pkgdir}" samu install
+}
More information about the arch-commits
mailing list