summaryrefslogtreecommitdiff
path: root/community/bbpager/PKGBUILD
blob: 9440101d6828d428d381ace329ea9b94dcfcabc8 (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
# $Id: PKGBUILD 21749 2010-07-17 08:54:37Z lcarlier $
# Maintainer: Thayer Williams <jason@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=bbpager
pkgver=0.4.7
pkgrel=3
pkgdesc="A dockable pager for Blackbox and other window managers"
arch=(i686 x86_64 'mips64el')
url="http://bbtools.sourceforge.net/download.php?file=6"
license=("GPL")
depends=('gcc-libs' 'libxft' 'libxext')
makedepends=('gcc' 'blackbox')
source=(http://downloads.sourceforge.net/bbtools/$pkgname-$pkgver.tar.gz \
        02_gcc43.dpatch \
        fix-shm-linking-ugly.diff)
md5sums=('4eaa91a4d66130af2f7a09c25f917386'
         'e985ef893f2080b3b2d47f900f861352'
         '6e0b3915ff2f61ac3bab7434c93f37b3')

build() {
  cd ${srcdir}/$pkgname-$pkgver

  patch -Np1 -i ../02_gcc43.dpatch
  patch -Np1 -i ../fix-shm-linking-ugly.diff
  autoreconf

  ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/$pkgname-$pkgver

  make prefix="$pkgdir/usr" install
}