# Maintainer: PktSurf app=gthumb version=3.12.2 build=1sml homepage="https://wiki.gnome.org/Apps/Gthumb" download="https://download.gnome.org/sources/gthumb/3.11/gthumb-$version.tar.xz" desc="An image viewer and browser for GNOME desktop" requires="exiv2 json-glib librsvg libsecret libsoup libwebp dconf gtk2 gsettings-desktop-schemas" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions applypatch $srcdir/libraw-0.21.patch applypatch $srcdir/x11-dep.patch } build() { mkdir -p smbuild && cd smbuild meson .. \ --prefix=/usr ninja DESTDIR="$pkg" ninja install cp ../COPYING $pkgdocs mkfinalpkg } sha512sums=" 2591f1ebaaa7978afca6db30f99fff5a83949d94fcba8b49db142b97c89c84da9e6edd987a72ca01f6cbfa65be7b4bc75a339dce016fca341c4345c607ca5a93 gthumb-3.12.2.tar.lz "