summaryrefslogtreecommitdiff
path: root/community/fbpanel/PKGBUILD
blob: a1b8f16201213237054f6cf39e40dbf1281dca59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $Id: PKGBUILD 100493 2013-11-05 10:04:31Z 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=6
pkgdesc="NetWM compliant desktop panel"
arch=('i686' 'x86_64' 'mips64el')
url="http://fbpanel.sourceforge.net/"
depends=('gtk2')
license=('GPL')
source=("http://downloads.sourceforge.net/fbpanel/fbpanel-${pkgver}.tbz2"
	"taskbar_unicode.patch::https://bugs.archlinux.org/task/37639?getfile=11189"
        "battery_fix.patch")
md5sums=('80ca0c64195b30587cfcb8c2cd9887a0'
         '0af51e8f0391ea9b734a57a9880b57e5'
         'dc1db8eee1be899725f350eb36793ea4')

prepare() {
  cd "$srcdir/$pkgname-$pkgver"
  patch -p1 <$srcdir/battery_fix.patch
  patch -p1 <$srcdir/taskbar_unicode.patch
}

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr --libexecdir=/usr/lib
  echo "LDFLAGSX += -lX11 -lm" >>config.mk
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}