summaryrefslogtreecommitdiff
path: root/extra/pekwm/PKGBUILD
blob: 105a4901903e0e252b87756b85c3ba7178f58348 (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
31
32
33
34
35
36
37
38
39
40
41
42
# $Id: PKGBUILD 78573 2010-04-26 19:07:35Z kevin $
# Maintainer: Kevin Piche <kevin@archlinux.org>
# Contributor: Eddie Lozon <almostlucky@attbi.com>

pkgname=pekwm
pkgver=0.1.12
pkgrel=1
pkgdesc="A small, fast, functional, and flexible window manager"
arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://pekwm.org/"
depends=('gcc-libs' 'libjpeg>=7' 'libpng' 'libxft' 'libxinerama' 'libxpm'
'libxrandr')
backup=(etc/pekwm/config
  etc/pekwm/vars
  etc/pekwm/autoproperties
  etc/pekwm/start
  etc/pekwm/keys
  etc/pekwm/mouse
  etc/pekwm/menu)
source=(http://www.pekwm.org/projects/pekwm/files/${pkgname}-${pkgver}.tar.gz
pekwm.desktop libpng-1.4.patch)

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
#  patch -p1 < ../libpng-1.4.patch || return 1
  # Default settings:
  #    --enable-shape --enable-xinerama --enable-menus \
  #    --enable-harbour --disable-debug --disable-pedantic \
  #    --enable-xft --enable-image-xpm --enable-image-jpeg \
  #    --enable-image-png --enable-xrandr
  ./configure --prefix=/usr --sysconfdir=/etc

  make || return 1
  make DESTDIR=${pkgdir} install
  install -D -m644 ${srcdir}/${pkgname}.desktop \
                   ${pkgdir}/etc/X11/sessions/${pkgname}.desktop
}
# vim: ts=2 sw=2 et ft=sh
md5sums=('1f7f9ed32cc03f565a3ad30fd6045c1f'
         '5a78fc6653fbb0b7282ecf7f1f81e2c5'
         '075bf1b9d32bf94780329499e4fa40e3')