diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/clutter/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/main/clutter/APKBUILD b/main/clutter/APKBUILD new file mode 100644 index 000000000..4fc47a0b4 --- /dev/null +++ b/main/clutter/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=clutter +pkgver=1.16.4 +pkgrel=0 +pkgdesc="library for creating fast, visually-appealing interfaces" +url="http://www.clutter-project.org/" +arch="all" +license="LGPL" +depends= +depends_dev="gdk-pixbuf-dev json-glib-dev atk-dev pango-dev mesa-dev + libxcomposite-dev cairo-dev cogl-dev" +makedepends="$depends_dev gobject-introspection-dev intltool" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" + +_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 || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm "$pkgdir"/usr/lib/*.la +} + +md5sums="29389588ce388bb64ec4d5c986a6afd3 clutter-1.16.4.tar.xz" +sha256sums="cf50836ec5503577b73f75f984577610881b3e2ff7a327bb5b6918b431b51b65 clutter-1.16.4.tar.xz" +sha512sums="2629d3dd56af75066a42e71569b5a5bb1bb63c0ce1296d8fca20e04f44a339489f77c071a5afc38c19b8ae5206f69c05c940e865b222f766161d92ed48f144c8 clutter-1.16.4.tar.xz" |