summaryrefslogtreecommitdiff
path: root/community/fbpanel/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/fbpanel/PKGBUILD')
-rw-r--r--community/fbpanel/PKGBUILD16
1 files changed, 12 insertions, 4 deletions
diff --git a/community/fbpanel/PKGBUILD b/community/fbpanel/PKGBUILD
index 5edf5f2a1..53119bb8e 100644
--- a/community/fbpanel/PKGBUILD
+++ b/community/fbpanel/PKGBUILD
@@ -1,23 +1,31 @@
-# $Id: PKGBUILD 65166 2012-02-20 06:59:42Z spupykin $
+# $Id: PKGBUILD 98391 2013-10-09 14:15:54Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Jeff Mickey <jeff@archlinux.org>
# Contributor: Torin Daniel <torindan@gmail.com>
+# Contributor: Diep Pham Van <imeo@favadi.com>
pkgname=fbpanel
pkgver=6.1
-pkgrel=3
+pkgrel=4
pkgdesc="NetWM compliant desktop panel"
arch=('i686' 'x86_64')
url="http://fbpanel.sourceforge.net/"
depends=('gtk2')
license=('GPL')
-source=(http://downloads.sourceforge.net/fbpanel/fbpanel-${pkgver}.tbz2)
-md5sums=('80ca0c64195b30587cfcb8c2cd9887a0')
+source=("http://downloads.sourceforge.net/fbpanel/fbpanel-${pkgver}.tbz2"
+ "battery_fix.patch")
+md5sums=('80ca0c64195b30587cfcb8c2cd9887a0'
+ 'dc1db8eee1be899725f350eb36793ea4')
build() {
cd "$srcdir/$pkgname-$pkgver"
+ patch -p1 <$srcdir/battery_fix.patch
./configure --prefix=/usr
echo "LDFLAGSX += -lX11 -lm" >>config.mk
make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}