#Maintainer: George Vlahavas pkgname=perl-gtk2-spell pkgver=1.03 pkgrel=1gv arch=i486 source=(http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Gtk2-Spell-$pkgver.tar.gz) docs=("readme" "install" "copying" "changelog*" "authors" "news" "todo" "license" "maintainers" "copyright.pod") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "perl-gtk2-spell (Bindings for GtkSpell with Gtk2)" "Gtk2::Spell provides Perl bindings to GtkSpell, used in concert with" "Gtk2::TextView. Provides mis-spelled word highlighting in red and" "offers a right click pop-up menu with suggested corrections." ) build() { cd $startdir/src/Gtk2-Spell-$pkgver perl Makefile.PL || exit 1 make OPTIMIZE="$CFLAGS" || exit 1 make install INSTALLDIRS=vendor DESTDIR=$startdir/pkg || exit 1 # Remove perllocal.pod and .packlist if present in the package ( for i in perllocal.pod .packlist; do find $startdir/pkg -name "$i" -exec rm -rf {} \; done ) || exit 1 }