2015-03-03 02:03:03 +00:00

29 lines
835 B
Plaintext

# Description: Xfce4 plugin that shows the current temperature and weather condition.
# URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin
# Maintainer: CRUX Xfce Team, xfce-ports at crux dot nu
# Packager: Jose V Beneyto, sepen at crux dot nu
# Depends on: xfce4-panel libxfcegui4
# Group: xfce4
name=xfce4-weather-plugin
version=0.8.4
release=1
source=(http://archive.xfce.org/src/panel-plugins/$name/${version%.*}/$name-$version.tar.bz2)
build() {
cd $name-$version
sed -i panel-plugin/* -e 's|panel-plugins|panel/plugins|g'
./configure --prefix=/usr \
--libexecdir=/usr/lib \
--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 {} \;
}