summaryrefslogtreecommitdiff
path: root/community/blackbox/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/blackbox/PKGBUILD')
-rw-r--r--community/blackbox/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/blackbox/PKGBUILD b/community/blackbox/PKGBUILD
new file mode 100644
index 000000000..af1ff72d1
--- /dev/null
+++ b/community/blackbox/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 7982 2010-01-13 18:45:53Z dgriffiths $
+# 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=8
+pkgdesc="A window manager for X11"
+arch=('i686' 'x86_64')
+depends=('libxft' 'libxext' 'xorg-server')
+license=('MIT')
+options=('!libtool')
+source=(http://downloads.sourceforge.net/blackboxwm/$pkgname-$pkgver.tar.gz
+ gcc4.3.patch bbdock.patch bsetbg-feh.patch)
+url="http://blackboxwm.sourceforge.net/"
+md5sums=('2d173b95ca5e64ef478c6a5d2deee9df'
+ 'bc7a1335d77cdeb6f85cba4d01e68e63'
+ '69c5a5e981b087b2d8267cab996b48dd'
+ 'e7fb0d5bfd95820c0194ec73df66dadc')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+
+ patch -Np1 -i ../gcc4.3.patch || return 1
+ patch -Np0 -i ../bbdock.patch || return 1
+ patch -Np0 -i ../bsetbg-feh.patch || return 1
+
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make || return 1
+ make DESTDIR=$startdir/pkg install
+
+ install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
+}