summaryrefslogtreecommitdiff
path: root/extra/windowmaker-crm-git/PKGBUILD
blob: 326d3a7990b11d9593867f14aa88c7251d1766bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 94218 2010-10-05 16:33:23Z daniel $
# Maintainer: Daniel Isenmann <daniel@archlinux.org>

pkgname=windowmaker-crm-git
pkgver=20101005
pkgrel=1
pkgdesc="An X11 window manager with a NEXTSTEP look and feel - git version from Carlos R. Mafra"
arch=(i686 x86_64 'mips64el')
url="http://www.windowmaker.org"
license=('GPL' 'custom')
depends=('libxinerama' 'libxrandr' 'libpng' 'libxpm' 'libxft' 'libtiff>=3.9.1' 'giflib' 'libxmu')
options=('!libtool')
provides=('windowmaker')
conflicts=('windowmaker')
source=(ftp://ftp.archlinux.org/other/windowmaker/windowmaker-$pkgver.tar.gz wmaker.desktop)
md5sums=('8cc7e736a8d7e446f696b80fc7dcb79c'
         '2fba97bebfd691836b92b8f0db79ff13')

build() {
  cd $srcdir/windowmaker-$pkgver
  [ -z "$LINGUAS" ] && export LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:'`"
  ./autogen.sh
  ./configure --prefix=/usr --sysconfdir=/etc --enable-xinerama \
    --with-nlsdir=/usr/share/locale --with-gnustepdir=/usr/lib/GNUstep \
    --enable-usermenu --enable-modelock
  make || return 1
  make DESTDIR=$pkgdir install || return 1
  install -D -m644 COPYING.WTFPL $pkgdir/usr/share/licenses/$pkgname/COPYING.WTFPL
  install -D -m644 $srcdir/wmaker.desktop $pkgdir/usr/share/xsessions/wmaker.desktop
}