summaryrefslogtreecommitdiff
path: root/community/lwm
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/lwm
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/lwm')
-rw-r--r--community/lwm/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/lwm/PKGBUILD b/community/lwm/PKGBUILD
new file mode 100644
index 000000000..61fed43ce
--- /dev/null
+++ b/community/lwm/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 94155 2013-07-15 07:14:16Z 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.3
+pkgrel=1
+pkgdesc="A very light weight window manager"
+arch=('i686' 'x86_64')
+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=('439789a5396107cca5f54e108760c1f4')
+
+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"
+}