From 582a05ffb6c595fcda3ad36dd48716c8a835c370 Mon Sep 17 00:00:00 2001 From: Victor Tebar Date: Tue, 25 Oct 2022 11:30:58 +0200 Subject: [PATCH] Zathura : use venom-meson --- main/zathura/spkgbuild | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/main/zathura/spkgbuild b/main/zathura/spkgbuild index 27d41482f..dafd54ac6 100755 --- a/main/zathura/spkgbuild +++ b/main/zathura/spkgbuild @@ -1,27 +1,20 @@ # description : Zathura - highly customizable and functional document viewer -# depends : meson girara glib gettext cairo gtk3 file libseccomp pkgconf +# depends : meson glib gettext cairo gtk3 file libseccomp pkgconf name=zathura version=0.5.1 release=1 source="https://github.com/pwmt/zathura/archive/$version/$name-$version.tar.gz" build() { - cd $name-$version - - mkdir build - cd build - meson \ - --prefix=/usr \ - --libexecdir=/usr/lib/$name \ - --localstatedir=/var \ - --buildtype=plain \ + venom-meson $name-$version build \ + --wrap-mode nopromote \ -Dconvert-icon=disabled \ -Dmanpages=disabled \ -Dseccomp=disabled \ -Dsqlite=disabled \ -Dsynctex=disabled \ - -D b_lto=true .. - meson compile - DESTDIR=$PKG meson install + -D b_lto=true + meson compile -C build + DESTDIR=$PKG meson install -C build }