diff options
Diffstat (limited to 'testing/mutter/APKBUILD')
-rw-r--r-- | testing/mutter/APKBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/mutter/APKBUILD b/testing/mutter/APKBUILD new file mode 100644 index 0000000000..d11454b56f --- /dev/null +++ b/testing/mutter/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=mutter +pkgver=2.31.5 +pkgrel=4 +pkgdesc="clutter-based window manager for GNOME" +url="http://www.gnome.org/" +arch="all" +license="GPL" +depends="zenity" +depends_dev="clutter-dev libcanberra-dev gconf-dev startup-notification-dev python-dev" +makedepends="$depends_dev gobject-introspection-dev intltool gnome-doc-utils" +install="$pkgname.pre-deinstall $pkgname.post-install $pkgname.post-upgrade" +subpackages="$pkgname-dev $pkgname-doc" +source="ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2 + mutter-gtk2.patch" + +_builddir="${srcdir}/${pkgname}-${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 \ + --localstatedir=/var \ + --disable-static || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + + export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 + make DESTDIR="$pkgdir" install || return 1 + rm "$pkgdir"/usr/lib/*.la +} + +md5sums="0bec58091d4a3b1df6d5d6c05a1dd7cd mutter-2.31.5.tar.bz2 +e2f03d7771bf45069f2fba0af8f6b57d mutter-gtk2.patch" |