xfce4-smartbookmark-plugin: Update to 0.4.6

Signed-off-by: Leo Unglaub <leo@leo-unglaub.net>
This commit is contained in:
Leo Unglaub 2015-03-10 02:10:09 +00:00
parent 6de7b942d8
commit 81f0ee7e1e
2 changed files with 23 additions and 12 deletions

View File

@ -1 +1 @@
820422dfc5c212689b2908e1ff09c548 xfce4-smartbookmark-plugin-0.4.5.tar.bz2
01b7735d4d9ab0150d4ddd3becb94d5f xfce4-smartbookmark-plugin-0.4.6.tar.bz2

View File

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