xfce4-time-out-plugin: Update to 1.0.2

Signed-off-by: Leo Unglaub <leo@leo-unglaub.net>
This commit is contained in:
Leo Unglaub 2015-03-10 02:00:27 +00:00
parent 91f30916d2
commit 318c440ecf
2 changed files with 26 additions and 12 deletions

View File

@ -1 +1 @@
b6e4a3145d31c341e2506fb17b014587 xfce4-time-out-plugin-1.0.1.tar.bz2
d7d743794a766ba1b00647828a099053 xfce4-time-out-plugin-1.0.2.tar.bz2

View File

@ -6,18 +6,32 @@
# Group: xfce4
name=xfce4-time-out-plugin
version=1.0.1
version=1.0.2
release=1
source=(http://archive.xfce.org/src/panel-plugins/$name/${version%.*}/$name-$version.tar.bz2)
build() {
cd $name-$version
./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 {} \;
build ()
{
# go into the source directory
cd $SRC/$name-$version
# configure the plugin
./configure \
--prefix=/usr \
--libexecdir=/usr/lib \
--disable-debug \
--disable-nls \
--disable-dependency-tracking
# make the plugin
make
make DESTDIR=$PKG install
# cleanup
rm -rf $PKG/usr/share/locale
find $PKG/usr/share/xfce4/panel/plugins -type f -name '*.desktop' \
-exec sed -r '/\[.+\]=/d' -i {} \;
}