summaryrefslogtreecommitdiff
path: root/community/fbpanel/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-10 01:59:31 -0700
committerroot <root@rshg054.dnsready.net>2013-10-10 01:59:31 -0700
commit361f95d1ff881daf5f87cb14917bd524511abfc5 (patch)
tree80a94568027dded4548d525a8a3ed7621ccf325d /community/fbpanel/PKGBUILD
parent737832e1bd70820f477143512b5c89a30a6e81d0 (diff)
Thu Oct 10 01:58:46 PDT 2013
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
}