28 lines
718 B
Plaintext
28 lines
718 B
Plaintext
# Description: Spell checking utility for GTK+ applications.
|
|
# URL: https://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 gtk intltool xorg-libxdamage
|
|
|
|
name=gtkspell
|
|
version=2.0.16
|
|
release=1
|
|
source=(https://downloads.sourceforge.net/project/$name/$version/$name-$version.tar.gz)
|
|
|
|
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
|
|
}
|
|
|