summaryrefslogtreecommitdiff
path: root/community/lwm
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-07 00:01:25 +0000
committerroot <root@rshg054.dnsready.net>2012-03-07 00:01:25 +0000
commit5a680f7689b01b4b7a0bfade1a6c1f659f8cbed4 (patch)
treee7b6c472f6deee81a237a1ce4b8c12e90aadac67 /community/lwm
parentb8afacf1f28ac27321feb9b92bd50dd8961b7736 (diff)
Wed Mar 7 00:01:25 UTC 2012
Diffstat (limited to 'community/lwm')
-rw-r--r--community/lwm/PKGBUILD29
1 files changed, 15 insertions, 14 deletions
diff --git a/community/lwm/PKGBUILD b/community/lwm/PKGBUILD
index e9aed0a46..7ea15078c 100644
--- a/community/lwm/PKGBUILD
+++ b/community/lwm/PKGBUILD
@@ -1,32 +1,33 @@
-# $Id: PKGBUILD 66767 2012-02-28 10:21:19Z giovanni $
+# $Id: PKGBUILD 67238 2012-03-05 15:00:02Z kkeen $
# 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>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=lwm
pkgver=1.2.2
-pkgrel=2
-pkgdesc="A very light weight window manager"
+pkgrel=3
+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' 'libsm' 'libxext')
+license=('GPL')
+depends=('xorg-server' 'libxext' 'libsm')
makedepends=('imake')
-source=(http://www.jfc.org.uk/files/$pkgname/$pkgname-$pkgver.tar.gz)
+source=(http://www.jfc.org.uk/files/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('1748722a293e03d632b615275ef84498')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd "$srcdir/$pkgname-$pkgver"
- sed -i -e "s/(SMLIB)/& -lICE/g" Imakefile
- xmkmf
- make EXTRA_LDOPTIONS="${CFLAGS} ${LDFLAGS}" CFLAGS="${CFLAGS}"
+ xmkmf
+ sed -i 's/^LOCAL_LIBRARIES.*/& $(ICELIB)/' Makefile
+ make
+ strip lwm
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd "$srcdir/$pkgname-$pkgver"
- install -Dm755 lwm ${pkgdir}/usr/bin/lwm
- install -Dm644 lwm.man ${pkgdir}/usr/share/man/man1/lwm.1
+ install -Dm755 lwm "$pkgdir/usr/bin/lwm"
+ install -Dm644 lwm.man "$pkgdir/usr/share/man/man1/lwm.1"
}