aboutsummaryrefslogtreecommitdiffstats
path: root/testing/compiz
diff options
context:
space:
mode:
Diffstat (limited to 'testing/compiz')
-rw-r--r--testing/compiz/APKBUILD59
1 files changed, 59 insertions, 0 deletions
diff --git a/testing/compiz/APKBUILD b/testing/compiz/APKBUILD
new file mode 100644
index 0000000000..da6ea40ad8
--- /dev/null
+++ b/testing/compiz/APKBUILD
@@ -0,0 +1,59 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=compiz
+pkgver=0.8.6
+pkgrel=0
+pkgdesc="opengl window and composition manager"
+url="http://www.compiz.org/"
+arch="all"
+license="GPL"
+depends=
+depends_dev="mesa-dev
+ libx11-dev
+ libxslt-dev
+ libsm-dev
+ libxcomposite-dev
+ libxrandr-dev
+ libxinerama-dev
+ glib-dev
+ gconf-dev
+ startup-notification-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev $pkgname-gnome"
+source="http://releases.compiz.org/$pkgver/compiz-$pkgver.tar.gz"
+
+_builddir="$srcdir"/compiz-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+gnome() {
+ mkdir -p "$subpkgdir"/usr/lib/compiz
+ mv "$pkgdir"/usr/lib/compiz/libgconf.so "$subpkgdir"/usr/lib/compiz
+ mv "$pkgdir"/usr/lib/compiz/libgnomecompat.so "$subpkgdir"/usr/lib/compiz
+}
+
+md5sums="af0586557e0291c47b924e33bccacc60 compiz-0.8.6.tar.gz"