summaryrefslogtreecommitdiff
path: root/extra/devilspie/PKGBUILD
blob: 1dba7d39bb8407608ef5e7bf63c8ccd28dfee8c8 (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 107892 2011-01-27 13:30:08Z ibiru $
# Maintainer: Aaron Griffin <aaron@archlinux.org>
# Contributor: Travis Willard <travisw@wmpub.ca> 
# Contributor: William Rea <sillywilly@gmail.com>

pkgname=devilspie
pkgver=0.22
pkgrel=4
pkgdesc="x11 window matching utility"
arch=('i686' 'x86_64')
url="http://www.burtonini.com/blog/computers/devilspie"
license=('GPL')
depends=('libwnck')
makedepends=('pkgconfig' 'intltool' 'gnome-common')
source=("http://www.burtonini.com/computing/$pkgname-$pkgver.tar.gz")
md5sums=('4190e12f99ab92c0427e457d9fbfe231')

build() {
  cd $srcdir/$pkgname-$pkgver
  sed -i -e '/-DG.*_DISABLE_DEPRECATED/d' src/Makefile.am

  ./autogen.sh

  ./configure --prefix=/usr --sysconfdir=/etc
  make
  make prefix=$pkgdir/usr install
  # Make and install blank config
  mkdir -p $pkgdir/etc/devilspie
  echo '(debug)' > $pkgdir/etc/devilspie/example.ds
}