summaryrefslogtreecommitdiff
path: root/community/windowlab/PKGBUILD
blob: 873e52767f0885e2188c1538fccafbc2f5924b61 (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 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>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=windowlab
pkgver=1.40
pkgrel=4
pkgdesc="A small and simple window manager."
arch=('i686' 'x86_64')
url="http://www.nickgravgaard.com/windowlab"
license=('GPL')
depends=('xorg-server' 'libxft' 'libxext')
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}

  make PREFIX=/usr
}

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

  make PREFIX=/usr CONFPREFIX="" MANDIR=${pkgdir}/usr/share/man/man1 DESTDIR=${pkgdir} install
}