summaryrefslogtreecommitdiff
path: root/community/lwm/PKGBUILD
blob: f8e5cb508f48e6637fdaa1c32d8d840ac29502b8 (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
# $Id: PKGBUILD 67238 2012-03-05 15:00:02Z kkeen $
# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Jeff Mickey <j@codemac.net>
# Contributor: Ben Mazer <blm@groknil.org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=lwm
pkgver=1.2.2
pkgrel=3.1
pkgdesc="a very light weight window manager"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.jfc.org.uk/software/lwm.html"
license=('GPL')
depends=('xorg-server' 'libxext' 'libsm')
makedepends=('imake')
source=(http://www.jfc.org.uk/files/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('1748722a293e03d632b615275ef84498')

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

	xmkmf
	sed -i 's/^LOCAL_LIBRARIES.*/& $(ICELIB)/' Makefile
	make
	strip lwm
}

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

	install -Dm755 lwm "$pkgdir/usr/bin/lwm"
	install -Dm644 lwm.man "$pkgdir/usr/share/man/man1/lwm.1"
}