# Maintainer: PktSurf app=shared-mime-info version=2.2 build=1sml homepage="https://freedesktop.org/wiki/Software/shared-mime-info/" download="https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/Release-2-2/shared-mime-info-Release-2-2.tar.bz2" desc="Freedesktop.org Shared MIME Info" requires="glib libxml2 xmlto" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions } build() { mkdir -p smbuild && cd smbuild meson .. --prefix=/usr ninja DESTDIR="$pkg" ninja install cp ../COPYING $pkgdocs/ mkfinalpkg } sha512sums=" cd5e65c27b0474c4d01759d009c6f6aaca875272c1de5f2c1808999fe5cbb4e842b06bb2f91d9336b92558f413a3d81d769308ccc7739bbdcdbc93d450efd2d2 shared-mime-info-2.2.tar.lz "