summaryrefslogtreecommitdiff
path: root/community/libcompizconfig/PKGBUILD
blob: be648834017dc838346d19d1ead622821c8d2b11 (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 68306 2012-03-21 10:40:24Z pschmitz $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: JJDaNiMoTh <jjdanimoth@gmail.com>
# Contributor: nesl247 <nesl247@gmail.com>

pkgname=libcompizconfig
pkgver=0.8.8
pkgrel=2
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
}