summaryrefslogtreecommitdiff
path: root/community/lwm/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-03-07 18:10:48 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-03-07 18:10:48 +0100
commit61733e7ff1a756e9325154d9d52cdcdeb27d9097 (patch)
treea0f842807088c4986fb918be0de70bac3f18ea04 /community/lwm/PKGBUILD
parent42badd081241c57a3b9bbd7a18dec85e64038314 (diff)
parent5a680f7689b01b4b7a0bfade1a6c1f659f8cbed4 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/bin2iso/PKGBUILD community/espeak/PKGBUILD community/gnash/PKGBUILD community/gtk2hs-buildtools/PKGBUILD community/haskell-binary/PKGBUILD community/haskell-dataenc/PKGBUILD community/haskell-ghc-paths/PKGBUILD community/haskell-haskeline/PKGBUILD community/haskell-hslogger/PKGBUILD community/haskell-tar/PKGBUILD community/haskell-terminfo/PKGBUILD community/haskell-utf8-string/PKGBUILD community/haskell-x11-xft/PKGBUILD community/kmess/PKGBUILD community/libident/PKGBUILD community/lwm/PKGBUILD core/dialog/PKGBUILD core/gcc/PKGBUILD core/libtool/PKGBUILD core/ppl/PKGBUILD extra/boost/PKGBUILD extra/dnsmasq/PKGBUILD extra/ghc/PKGBUILD extra/haskell-html/PKGBUILD extra/haskell-http/PKGBUILD extra/haskell-mtl/PKGBUILD extra/haskell-network/PKGBUILD extra/haskell-parsec/PKGBUILD extra/haskell-quickcheck/PKGBUILD extra/haskell-regex-base/PKGBUILD extra/haskell-regex-compat/PKGBUILD extra/haskell-regex-posix/PKGBUILD extra/haskell-text/PKGBUILD extra/haskell-transformers/PKGBUILD extra/haskell-zlib/PKGBUILD extra/liborigin2/PKGBUILD extra/libpst/PKGBUILD extra/mkvtoolnix/PKGBUILD extra/pekwm/PKGBUILD extra/soprano/PKGBUILD extra/udisks/PKGBUILD multilib-testing/lib32-libpciaccess/PKGBUILD multilib/gcc-multilib/PKGBUILD multilib/lib32-glibc/PKGBUILD multilib/lib32-glibc/glibc-2.12.2-ignore-origin-of-privileged-program.patch multilib/lib32-glibc/glibc-2.15-ifunc.patch multilib/lib32-glibc/glibc-2.15-revert-netlink-cache.patch multilib/lib32-glibc/glibc-2.15-scanf.patch multilib/libtool-multilib/PKGBUILD staging/kdeedu-kig/PKGBUILD staging/kdeedu-rocs/PKGBUILD testing/libpciaccess/PKGBUILD testing/mkinitcpio-busybox/PKGBUILD testing/xorg-server/PKGBUILD
Diffstat (limited to 'community/lwm/PKGBUILD')
-rw-r--r--community/lwm/PKGBUILD29
1 files changed, 15 insertions, 14 deletions
diff --git a/community/lwm/PKGBUILD b/community/lwm/PKGBUILD
index c33d6e556..31e705bb3 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' 'mips64el')
-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"
}