### this file is sourced not run
PKGVER=0.3.2
PKGBUILD=1
PKGARCH=x86_64

# source: BLFS 11.3
TARBALL=libgxps-$PKGVER.tar.xz
MD5SUM=0527ac7c8c405445e96a5baa6019a0c3
SRC_URL=https://download.gnome.org/sources/libgxps/0.3/$TARBALL
BUNDLE=

SLACKREQ='gtk3 lcms2 libarchive libjpeg-turbo libtiff libxslt'
SLACKDESC="libgxps: libgxps $PKGVER (XPS manipulation library)
libgxps: 
libgxps: The libgxps package provides an interface to manipulate XPS documents.
libgxps: 
libgxps: 
libgxps: 
libgxps: 
libgxps: 
libgxps: 
libgxps: 
libgxps: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	#MESONFLAGS="$MESONFLAGS -Dgtk_doc=false -Dvapi=false" &&
	pkg_build_meson &&
	pkg_build_slackdesc &&

	# multilib
	mv /usr/share/gir-1.0/* /usr/share/gir-1.0-64 &&
	rm -r /usr/share/gir-1.0	
}
