contrib/gtkspell/Pkgfile
2014-11-10 23:28:51 +11:00

29 lines
753 B
Plaintext

# Description: Spell checking utility for GTK+ applications.
# URL: http://gtkspell.sourceforge.net/
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: Brett Goulder, predatorfreak at dcaf-security dot org
# Depends on: aspell-en enchant xorg-libxcomposite gtk
name=gtkspell
version=2.0.16
release=1
source="http://gtkspell.sourceforge.net/download/$name-$version.tar.gz"
up2date="http://sourceforge.net/projects/gtkspell/files/"
build() {
cd $name-$version
rm -f $SRC/po/*.{po,gmo}
sed -i \
-e 's/USE_NLS=yes/USE_NLS=no/' \
-e 's/ENABLE_NLS 1/ENABLE_NLS 0/' configure
sed -i -e 's/SUBDIRS = gtkspell examples docs po/SUBDIRS = gtkspell examples po/' Makefile.in
./configure --prefix=/usr
make
make DESTDIR=$PKG install
}