[arch-commits] Commit in xreader/trunk (PKGBUILD)

Bruno Pagani archange at gemini.archlinux.org
Thu Mar 17 20:17:21 UTC 2022


    Date: Thursday, March 17, 2022 @ 20:17:21
  Author: archange
Revision: 1156961

upgpkg: xreader 3.3.0-1

Also PKGBUILD linting

Modified:
  xreader/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-17 20:17:07 UTC (rev 1156960)
+++ PKGBUILD	2022-03-17 20:17:21 UTC (rev 1156961)
@@ -3,7 +3,7 @@
 # Contributor: Nate Simon <aurpkg (at natesimon.net)>
 
 pkgname=xreader
-pkgver=3.2.2
+pkgver=3.3.0
 pkgrel=1
 pkgdesc="Document viewer for files like PDF and Postscript. X-Apps Project."
 arch=(x86_64)
@@ -19,13 +19,12 @@
 makedepends=(meson samurai intltool itstool gobject-introspection djvulibre
              libgxps libspectre texlive-bin)
 source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('fb2ba147ffbe64b47ff8967cfc49930f68867e6a6ab5d8e496208fc0e03cf481')
-b2sums=('ae69e3b3dc21b0d2639ed712b5d420679d6afff1ce97321a477c2381c9e9493c6d0e10f5e3182fb6d796d681fbb3fc785f3224bc01a6b5087f789b67c59e97c9')
+sha256sums=('cd347ce2c4d655adc296c25d475250a688921af6a54581bcf10e279276197e54')
+b2sums=('4194a002eba3a903db574e66478cbd5d551e37e99f278d0e0fd3d8981c33ee7fad729a47554c54f098b5fba9bdf93245f876a15e6f13441ac38d0e54e14dc77c')
 
 build() {
-  mkdir -p build
-  cd build
-  arch-meson --libexecdir=lib/${pkgname} \
+  arch-meson ${pkgname}-${pkgver} build \
+    --libexecdir=lib/${pkgname} \
     -Dmathjax-directory=/usr/share/mathjax2 \
     -Dcomics=true \
     -Ddjvu=true \
@@ -33,12 +32,10 @@
     -Dt1lib=true \
     -Dpixbuf=true \
     -Dhelp_files=true \
-    -Dintrospection=true \
-    ../${pkgname}-${pkgver}
-  samu
+    -Dintrospection=true
+  samu -C build
 }
 
 package(){
-  cd build
-  DESTDIR="${pkgdir}" samu install
+  DESTDIR="${pkgdir}" samu -C build install
 }



More information about the arch-commits mailing list