28 lines
776 B
Plaintext
28 lines
776 B
Plaintext
# Description: Query a dictionary server to search for the translation or explanation of a word.
|
|
# URL: http://goodies.xfce.org/projects/applications/xfce4-dict
|
|
# Maintainer: CRUX Xfce Team, xfce-ports at crux dot nu
|
|
# Packager: Jose V Beneyto, sepen at crux dot nu
|
|
# Depends on: xfce4-panel
|
|
# Group: xfce4
|
|
|
|
name=xfce4-dict
|
|
version=0.7.0
|
|
release=1
|
|
source=(http://archive.xfce.org/src/apps/$name/${version%.*}/$name-$version.tar.bz2)
|
|
|
|
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 '/\[.+\]=/d' -i {} \;
|
|
}
|