#Maintainer: Dimitris Tzemos pkgname=fbpanel pkgver=6.1 pkgrel=4dj source=("http://downloads.sourceforge.net/fbpanel/fbpanel-6.1.tbz2" "fbpanel-addon.tar.gz" "battery_fix.patch" "taskbar_unicode.patch" "terminal.patch") url=http://fbpanel.sourceforge.net/ docs=('README' 'CHANGELOG' 'COPYING' 'CREDITS' 'NOTES') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "fbpanel (panel application)" "fbpanel is a lightweight GTK2-based panel for UNIX desktop, which" "provides graphical information and feedback about desktop activity" "and allows interaction with the window manager. It features a" "taskbar, pager, launchbar, show desktop, image viewer, clock, and" "system tray." "" "http://fbpanel.sourceforge.net/" ) build() { cd $SRC/$pkgname-$pkgver patch -p1 <$SRC/terminal.patch || return 1 patch -p1 <$SRC/battery_fix.patch || return 1 patch -p1 <$SRC/taskbar_unicode.patch || return 1 # --cxflags option don't work very well... sed -i "s|-O2 -Wall|$SLKCFLAGS -Wall|" rules.mk LIBSTOLINK="-lX11 -lgdk_pixbuf-2.0 -lgobject-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lm" ./configure \ --prefix=/usr \ --libdir=/usr/lib$LIBDIRSUFFIX \ --sysconfdir=/etc \ --localstatedir=/var \ --host=$arch \ --ldflagsx="$LIBSTOLINK" \ --build=$arch-slackware-linux || return 1 make || return 1 make DESTDIR=$PKG install || return 1 # Forgotten by the "make install" mkdir -p $PKG/usr/man/man1 gzip -c data/man/$pkgname.1 > $PKG/usr/man/man1/$pkgname.1.gz tar xvf $SRC/fbpanel-addon.tar.gz -C $PKG/usr/libexec/fbpanel/ || return 1 chmod 755 $PKG/usr/libexec/fbpanel/* || return 1 }