summaryrefslogtreecommitdiff
path: root/community/windowlab
diff options
context:
space:
mode:
Diffstat (limited to 'community/windowlab')
-rw-r--r--community/windowlab/PKGBUILD16
-rw-r--r--community/windowlab/xft.patch14
2 files changed, 26 insertions, 4 deletions
diff --git a/community/windowlab/PKGBUILD b/community/windowlab/PKGBUILD
index 7dec691b1..febeb0aca 100644
--- a/community/windowlab/PKGBUILD
+++ b/community/windowlab/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 69029 2012-04-08 11:16:33Z giovanni $
+# $Id: PKGBUILD 96907 2013-09-07 17:50:24Z bgyorgy $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Jeff Mickey <jeff@archlinux.org>
# Contributor: phrakture <aaronmgriffin -at- gmail.dot.com>
@@ -6,14 +6,22 @@
pkgname=windowlab
pkgver=1.40
-pkgrel=3
+pkgrel=4
pkgdesc="A small and simple window manager."
arch=('i686' 'x86_64' 'mips64el')
url="http://www.nickgravgaard.com/windowlab"
license=('GPL')
depends=('xorg-server' 'libxft' 'libxext')
-source=("http://www.nickgravgaard.com/windowlab/${pkgname}-${pkgver}.tar")
-md5sums=('7fcf770b3da932ac7d252572974b0d54')
+source=("http://www.nickgravgaard.com/windowlab/${pkgname}-${pkgver}.tar"
+ 'xft.patch')
+md5sums=('7fcf770b3da932ac7d252572974b0d54'
+ '51e5a2d48c6d5837786f2571ccc1ce72')
+
+prepare() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ patch -Np1 -i ../xft.patch
+}
build() {
cd ${srcdir}/${pkgname}-${pkgver}
diff --git a/community/windowlab/xft.patch b/community/windowlab/xft.patch
new file mode 100644
index 000000000..8fb1eba57
--- /dev/null
+++ b/community/windowlab/xft.patch
@@ -0,0 +1,14 @@
+--- aaa/Makefile 2009-11-06 10:04:45.000000000 +1300
++++ bbb/Makefile 2012-08-04 20:33:35.197529653 +1200
+@@ -35,11 +35,11 @@
+ # Uncomment to add freetype support (requires XFree86 4.0.2 or later)
+ # This needs -lXext above, even if you have disabled shape support
+-#DEFINES += -DXFT
+-#EXTRA_INC += `pkg-config --cflags xft`
+-#EXTRA_LIBS += `pkg-config --libs xft`
++DEFINES += -DXFT
++EXTRA_INC += `pkg-config --cflags xft`
++EXTRA_LIBS += `pkg-config --libs xft`
+
+ # Uncomment for debugging info (abandon all hope, ye who enter here)
+ #DEFINES += -DDEBUG