2014-07-07 17:13:01 +10:00
|
|
|
# Description: Spell checking utility for GTK+ applications.
|
2017-03-12 16:34:49 +11:00
|
|
|
# URL: https://gtkspell.sourceforge.net/
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2014-07-07 17:13:01 +10:00
|
|
|
# Packager: Brett Goulder, predatorfreak at dcaf-security dot org
|
2017-03-12 16:34:49 +11:00
|
|
|
# Depends on: aspell-en enchant gtk intltool xorg-libxdamage
|
2014-07-07 17:13:01 +10:00
|
|
|
|
|
|
|
name=gtkspell
|
|
|
|
version=2.0.16
|
|
|
|
release=1
|
2017-03-12 16:34:49 +11:00
|
|
|
source=(https://gtkspell.sourceforge.net/download/$name-$version.tar.gz)
|
2014-07-07 17:13:01 +10:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|