summaryrefslogtreecommitdiff
path: root/community/libcompizconfig/PKGBUILD
blob: 901d370fc1cf610f27fbc6a65ef0f517ae6ef053 (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
# $Id: PKGBUILD 52290 2011-07-23 10:42:39Z rvanharen $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: JJDaNiMoTh <jjdanimoth@gmail.com>
# Contributor: nesl247 <nesl247@gmail.com>

pkgname=libcompizconfig
pkgver=0.8.8
pkgrel=1
pkgdesc="Compiz configuration system library"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.compiz.org"
license=('GPL')
depends=('compiz-core' 'libxml2' 'libxcomposite' 'libxinerama' 'startup-notification'
	'libxml++')
makedepends=('intltool' 'pkgconfig')
conflicts=('libcompizconfig-git')
source=(http://releases.compiz-fusion.org/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
options=('!emptydirs' '!libtool')
sha1sums=('8ea1f15fd9e1e2eb37a9814646659a31a8018fd8')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}

  CPPFLAGS="$CPPFLAGS -I/usr/include/compiz -I/usr/include/startup-notification-1.0 \
	-I/usr/include/libxml2" ./configure --prefix=/usr --sysconfdir=/etc 

  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
}