xfce4-fsguard-plugin: Update to 1.0.2

Signed-off-by: Leo Unglaub <leo@leo-unglaub.net>
This commit is contained in:
Leo Unglaub 2015-03-05 02:50:56 +00:00
parent e5447bfda6
commit 9d303c5a3c
2 changed files with 26 additions and 12 deletions

View File

@ -1 +1 @@
9c179371475e2837004cc208026e30c1 xfce4-fsguard-plugin-1.0.1.tar.bz2
db7741d1827e428b005e94d25e2ec00a xfce4-fsguard-plugin-1.0.2.tar.bz2

View File

@ -6,18 +6,32 @@
# Group: xfce4
name=xfce4-fsguard-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 time
rm -rf $PKG/usr/share/locale
find $PKG/usr/share/xfce4/panel/plugins -type f -name '*.desktop' \
-exec sed -r '/\[.+\]=/d' -i {} \;
}