summaryrefslogtreecommitdiff
path: root/community/compiz-fusion-plugins-extra/PKGBUILD
blob: e542877e0b512577db2d3fe6cfc9b37f6392d13d (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
# $Id: PKGBUILD 52300 2011-07-23 10:44:02Z rvanharen $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: JJDaNiMoTh <jjdanimoth@gmail.com>
# Contributor: nesl247 <nesl247@gmail.com>

pkgname=compiz-fusion-plugins-extra
pkgver=0.8.8
pkgrel=1
pkgdesc="Compiz Fusion Extra plugins"
arch=('i686' 'x86_64')
url="http://www.compiz.org"
license=('GPL')
depends=('compiz-core' 'compiz-bcop' 'compiz-fusion-plugins-main' 'libnotify')
makedepends=('intltool' 'pkg-config' 'gettext' 'gconf')
groups=('compiz-fusion' 'compiz-fusion-gtk' 'compiz-fusion-kde')
conflicts=('compiz-fusion-plugins-extra-git')
options=('!libtool')
source=(http://releases.compiz-fusion.org/${pkgver}/compiz-plugins-extra-${pkgver}.tar.bz2)
sha1sums=('ce592993696c0b5d4e0bb13171897b4c25b3844e')

build() {
  cd "${srcdir}/compiz-plugins-extra-${pkgver}"

  sed -i 's/if text "x$use/if test "x$use/' configure
  sed -i 's/iconUri, NULL);/iconUri);/' src/notification/notification.c
  ./configure --prefix=/usr

  make
}

package() {
  cd "${srcdir}/compiz-plugins-extra-${pkgver}"
  make DESTDIR="${pkgdir}" install
}