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

29 lines
780 B
Plaintext

# Description: Xfce panel plugin which monitors earthquakes
# URL: http://freecode.com/projects/equake-xfce
# Maintainer: CRUX Xfce Team, xfce-ports at crux dot nu
# Packager: Jose V Beneyto, sepen at crux dot nu
# Depends on: thunar
# Group: xfce4
name=xfce4-equake-plugin
version=1.3.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/Makefile.{in,am} -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 {} \;
}