xfce/xfce4-dict/Pkgfile

28 lines
776 B
Plaintext
Raw Normal View History

# 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
# Depends on: xfce4-panel
# Group: xfce4
name=xfce4-dict
2013-05-21 10:16:40 +02:00
version=0.7.0
release=1
2009-10-07 07:18:58 +00:00
source=(http://archive.xfce.org/src/apps/$name/${version%.*}/$name-$version.tar.bz2)
build() {
2008-02-05 20:20:49 +01:00
cd $name-$version
2011-03-14 12:09:29 +01:00
./configure --prefix=/usr \
--libexecdir=/usr/lib \
2008-06-12 20:38:58 +02:00
--mandir=/usr/man \
--disable-debug
2011-03-14 12:09:29 +01: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' \
-exec sed -r '/\[.+\]=/d' -i {} \;
}