summaryrefslogtreecommitdiff
path: root/community/lwm
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-01 03:21:19 +0000
committerroot <root@rshg054.dnsready.net>2012-03-01 03:21:19 +0000
commit6f297b1cf462a11227d811a87124006c55911d63 (patch)
tree325073cc18485496bf07d32e56edf643f3b7a2bf /community/lwm
parent32b05a621cb20af1bd4b7cd6f5609b7512bb20f1 (diff)
Thu Mar 1 03:21:19 UTC 2012
Diffstat (limited to 'community/lwm')
-rw-r--r--community/lwm/PKGBUILD21
1 files changed, 14 insertions, 7 deletions
diff --git a/community/lwm/PKGBUILD b/community/lwm/PKGBUILD
index 015928b53..e9aed0a46 100644
--- a/community/lwm/PKGBUILD
+++ b/community/lwm/PKGBUILD
@@ -1,25 +1,32 @@
-# $Id: PKGBUILD 6621 2009-12-18 08:13:19Z giovanni $
-# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+# $Id: PKGBUILD 66767 2012-02-28 10:21:19Z giovanni $
+# Maintainer: Kyle Keen <keenerd@gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Jeff Mickey <j@codemac.net>
# Contributor: Ben Mazer <blm@groknil.org>
pkgname=lwm
pkgver=1.2.2
-pkgrel=1
-pkgdesc="a very light weight window manager"
+pkgrel=2
+pkgdesc="A very light weight window manager"
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.jfc.org.uk/software/lwm.html"
-depends=('xorg-server')
+depends=('xorg-server' 'libsm' 'libxext')
makedepends=('imake')
source=(http://www.jfc.org.uk/files/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('1748722a293e03d632b615275ef84498')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
+
+ sed -i -e "s/(SMLIB)/& -lICE/g" Imakefile
xmkmf
- make || return 1
- strip lwm
+ make EXTRA_LDOPTIONS="${CFLAGS} ${LDFLAGS}" CFLAGS="${CFLAGS}"
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
install -Dm755 lwm ${pkgdir}/usr/bin/lwm
install -Dm644 lwm.man ${pkgdir}/usr/share/man/man1/lwm.1
}