#Packager: George Vlahavas # Included in Slint by Didier Spaier didieratslintdotfr pkgname=libmanette pkgver=0.2.6 _mainver=`echo $pkgver | cut -d'.' -f1,2` pkgrel=1slint source=("https://download-fallback.gnome.org/sources/libmanette/${_mainver}/libmanette-${pkgver}.tar.xz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "libmanette (The simple GObject game controller library)" "libmanette offers painless access to game controllers, from any" "programming language and with little dependencies. It supports the" "de-facto standard gamepad, as defined by the W3C standard gamepad" "specification or as implemented by the SDL GameController. Convertion" "of raw gamepad events into usable ones is handled transparently using" "an embedded library of mappings in the popular SDL mapping string" "format." ) build() { cd $startdir/src/$pkgname-$pkgver meson build \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} meson compile -C build DESTDIR=$startdir/pkg meson install -C build }