updated on Thu Jan 5 13:17:10 UTC 2012
[aur-mirror.git] / vwm / PKGBUILD
blob3d79b803a1da273015aeb0d345e8170d0ac9a05f
1 # Maintainer: Dan Vratil <progdan@progdansoft.com>
3 pkgname=vwm
4 pkgver=2.1.3
5 pkgrel=1
6 pkgdesc="Viper Window Manager is a text window manager for console"
7 arch=(i686 x86_64)
8 license=('GPL2')
9 url="http://vwm.sourceforge.net"
10 depends=('glib' 'libpseudo>=1.1.0' 'ncurses' 'libviper>=1.4.5'
11          'gpm' 'libgtop' 'libvterm')
12 provides=('vwm-modules')
13 conflicts=('vwm-modules')
14 source=(http://downloads.sourceforge.net/vwm/vwm-$pkgver.tar.gz
15         sysmon_makefile.patch)
16 options=(!strip)
18 build() {
19   cd $startdir/src
20   
21   # Apply patch to fix missing use of ${includedir} in sysmon module Makefile
22   patch -p0 -i sysmon_makefile.patch
23   
24   cd $startdir/src/$pkgname
25   
26   # Otherwise the compilation may fail
27   export MAKEFLAGS="-j1"   
28   
29   # Compile and install base VWM
30   make prefix=/usr || return 1
31   install -m644 -D vwm.h $startdir/pkg/usr/include/vwm.h || return 1
32   install -m755 -D vwm $startdir/pkg/usr/bin/vwm || return 1
33   
34   # Compile and install sysmon module
35   cd $startdir/src/$pkgname/modules/sysmon
36   make prefix=/usr || return 1
37   install -m755 -D sysmon.so $startdir/pkg/usr/lib/vwm/modules/sysmon.so || return 1
38   
39   # Compile and install vwmterm3 module
40   cd $startdir/src/$pkgname/modules/vwmterm3
41   install -m755 -D vwmterm3.so $startdir/pkg/usr/lib/vwm/modules/vwmterm3.so || return 1
42   make prefix=/usr || return 1
46 md5sums=('88248f062cef9e6b6ec646b975d2d1c6'
47          '36a63b13fb3a77d877ef380404d8ba56')
48 md5sums=('2a5c1ecba9db9a6f85f3e3b358136179'
49          '36a63b13fb3a77d877ef380404d8ba56')