# Maintainer: Jan Alexander Steffens (heftig) # Maintainer: Jan de Groot # included in Slint by Didier Spaier didieratslintdotfr pkgname=gspell pkgver=1.8.4 pkgrel=1slint slackdesc="a flexible API to implement the spell checking in a GTK+ application" url="https://wiki.gnome.org/Projects/gspell" arch=(x86_64) license=(GPL2) depends=(gtk3 enchant libxml2 iso-codes) makedepends=(gobject-introspection vala gtk-doc autoconf-archive git) _commit=afd6d46d900dff621be840079c34488d9b3e8259 source=("https://download.gnome.org/sources/gspell/1.8/gspell-1.8.4.tar.xz") docs=("AUTHORS" "COPYING""NEWS" "README" "THANKS") pkgver() { cd $pkgname git describe --tags | sed 's/-/+/g' } prepare() { cd $pkgname NOCONFIGURE=1 ./autogen.sh } build() { cd $pkgname-$pkgver ./configure \ --prefix=/usr \ --infodir=/usr/info \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --enable-vala=no \ --build=$ARCH-slackware-linux --enable-gtk-doc sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make make DESTDIR="$PKG" install }