# Packager: George Vlahavas pkgname=libxml++ pkgver=2.42.1 _mainver=`echo $pkgver | cut -d'.' -f1,2` pkgrel=1gv source=("http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${_mainver}/${pkgname}-${pkgver}.tar.xz") docs=("AUTHORS" "ChangeLog" "COPYING" "INSTALL" "MAINTAINERS" "NEWS" "README") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "libxml++ (C++ bindings for the libxml2 library)" "This library provides a C++ interface to XML files. It uses libxml 2" "to access the XML files." ) build() { cd $startdir/src/$pkgname-$pkgver meson build \ -D prefix=/usr \ -D libdir=/usr/lib${LIBDIRSUFFIX} meson compile -C build meson install -C build --destdir $startdir/pkg/ }