2007-07-14 11:53:44 +02:00
|
|
|
# Description: Query a dictionary server to search for the translation or explanation of a word.
|
2011-03-14 12:09:29 +01:00
|
|
|
# URL: http://goodies.xfce.org/projects/applications/xfce4-dict
|
2015-03-03 02:03:03 +00:00
|
|
|
# Maintainer: CRUX Xfce Team, xfce-ports at crux dot nu
|
2009-05-19 14:48:43 +00:00
|
|
|
# Packager: Jose V Beneyto, sepen at crux dot nu
|
2007-07-14 11:53:44 +02:00
|
|
|
# Depends on: xfce4-panel
|
2007-07-24 13:32:42 +02:00
|
|
|
# Group: xfce4
|
2007-07-14 11:53:44 +02:00
|
|
|
|
2008-06-12 20:35:22 +02:00
|
|
|
name=xfce4-dict
|
2013-05-21 10:16:40 +02:00
|
|
|
version=0.7.0
|
2008-06-12 20:35:22 +02:00
|
|
|
release=1
|
2009-10-07 07:18:58 +00:00
|
|
|
source=(http://archive.xfce.org/src/apps/$name/${version%.*}/$name-$version.tar.bz2)
|
2007-07-14 11:53:44 +02:00
|
|
|
|
|
|
|
build() {
|
2008-02-05 20:20:49 +01:00
|
|
|
cd $name-$version
|
2011-03-14 12:09:29 +01:00
|
|
|
|
2007-07-14 11:53:44 +02:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--libexecdir=/usr/lib \
|
2008-06-12 20:38:58 +02:00
|
|
|
--mandir=/usr/man \
|
2007-07-14 11:53:44 +02:00
|
|
|
--disable-debug
|
2011-03-14 12:09:29 +01:00
|
|
|
|
2007-07-14 11:53:44 +02:00
|
|
|
make
|
2008-02-05 20:20:49 +01:00
|
|
|
make DESTDIR=$PKG install
|
2011-03-14 12:09:29 +01:00
|
|
|
|
2008-02-05 20:20:49 +01:00
|
|
|
rm -rf $PKG/usr/share/locale
|
2013-05-21 10:16:40 +02:00
|
|
|
find $PKG/usr/share/xfce4/panel/plugins -type f -name '*.desktop' \
|
2008-10-30 23:35:07 +01:00
|
|
|
-exec sed -r '/\[.+\]=/d' -i {} \;
|
2007-07-14 11:53:44 +02:00
|
|
|
}
|