diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2014-02-05 12:19:56 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-02-05 12:19:56 +0000 |
commit | 5ee476a003f10ceb5e17dc612f6d040eb06a6a78 (patch) | |
tree | 1226e835109bb3d7ef5a4b6a824f0fc099f22025 /main/clutter/APKBUILD | |
parent | 5d26ef2f85aa578f87e49f24eb5e42ddb0afbd25 (diff) | |
download | aports-5ee476a003f10ceb5e17dc612f6d040eb06a6a78.tar.bz2 aports-5ee476a003f10ceb5e17dc612f6d040eb06a6a78.tar.xz |
main/clutter: move to main
Diffstat (limited to 'main/clutter/APKBUILD')
-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 0000000000..4fc47a0b47 --- /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" |