summaryrefslogtreecommitdiff
path: root/community/blackbox/PKGBUILD
blob: b312b37c5ca5513ff4119c59535a2d40596475c8 (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
39
# $Id: PKGBUILD 44299 2011-04-05 08:55:32Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: durbatuluk <dvdscripter@gmail.org>
# Contributor: Steve Ponsford <sp4d@lavabit.com>

pkgname=blackbox
pkgver=0.70.1
pkgrel=9
pkgdesc="A window manager for X11"
url="http://blackboxwm.sourceforge.net/"
arch=('i686' 'x86_64')
depends=('gcc-libs' 'libxft' 'libxext' 'libx11')
license=('MIT')
options=('!libtool')
source=(http://downloads.sourceforge.net/blackboxwm/$pkgname-$pkgver.tar.gz
	gcc4.3.patch
	bbdock.patch
	bsetbg-feh.patch
	textpropertytostring-unconditional.patch)
md5sums=('2d173b95ca5e64ef478c6a5d2deee9df'
         'bc7a1335d77cdeb6f85cba4d01e68e63'
         '69c5a5e981b087b2d8267cab996b48dd'
         'e7fb0d5bfd95820c0194ec73df66dadc'
         '3b92ad246f07126dd55ae9634d6e875e')

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

  patch -Np1 -i ../gcc4.3.patch
  patch -Np0 -i ../bbdock.patch
  patch -Np0 -i ../bsetbg-feh.patch
  patch -Np1 -i ../textpropertytostring-unconditional.patch

  ./configure --prefix=/usr --mandir=/usr/share/man
  make
  make DESTDIR=$pkgdir install

  install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}