summaryrefslogtreecommitdiff
path: root/extra/pekwm/PKGBUILD
blob: 9ed7695f38ef22d6816ab85f3301533c07b8ed5f (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
43
44
45
# $Id: PKGBUILD 148872 2012-02-05 11:53:39Z ibiru $
# Maintainer: Kevin Piche <kevin@archlinux.org>
# Contributor: Eddie Lozon <almostlucky@attbi.com>

pkgname=pekwm
pkgver=0.1.13
pkgrel=2
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.bz2
pekwm.desktop libpng-1.4.patch)
md5sums=('51a3f9030817df0304cc1da5110e493a' '5a78fc6653fbb0b7282ecf7f1f81e2c5'
         '075bf1b9d32bf94780329499e4fa40e3')

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
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -D -m644 "${srcdir}/${pkgname}.desktop" \
                   "${pkgdir}/usr/share/xsessions/${pkgname}.desktop"
}
# vim: ts=2 sw=2 et ft=sh