diff options
Diffstat (limited to 'testing/compiz/APKBUILD')
-rw-r--r-- | testing/compiz/APKBUILD | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/testing/compiz/APKBUILD b/testing/compiz/APKBUILD new file mode 100644 index 000000000..37333da6a --- /dev/null +++ b/testing/compiz/APKBUILD @@ -0,0 +1,55 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=compiz +pkgver=0.8.8 +pkgrel=1 +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 + libxrender-dev + libxrandr-dev + libxinerama-dev + libwnck-dev + glib-dev + gconf-dev + startup-notification-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev" +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 +} + +md5sums="d7e96f839b7cb0901470d5da04be4db2 compiz-0.8.8.tar.gz" |