# Description: Query a dictionary server to search for the translation or explanation of a word. # URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-dict-plugin # Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net # Packager: Jose V Beneyto, sepen at users dot sourceforge dot net # Depends on: xfce4-panel # Group: xfce4 name=xfce4-dict version=0.4.0 release=1 source=(http://goodies.xfce.org/releases/$name/$name-$version.tar.gz) build() { cd $name-$version ./configure --prefix=/usr \ --libexecdir=/usr/lib \ --mandir=/usr/man \ --disable-debug make make DESTDIR=$PKG install rm -rf $PKG/usr/share/locale find $PKG/usr/share/xfce4/panel-plugins -type f -name '*.desktop' \ -exec sed -r '/^(Comment|Name)\[/d' -i {} \; }