diff options
Diffstat (limited to 'main/clutter')
-rw-r--r-- | main/clutter/APKBUILD | 29 |
1 files changed, 9 insertions, 20 deletions
diff --git a/main/clutter/APKBUILD b/main/clutter/APKBUILD index e6366ea2ad..4c170f4d96 100644 --- a/main/clutter/APKBUILD +++ b/main/clutter/APKBUILD @@ -2,40 +2,29 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=clutter pkgver=1.26.2 -pkgrel=1 -pkgdesc="library for creating fast, visually-appealing interfaces" +pkgrel=2 +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 libxi-dev cairo-dev cogl-dev" makedepends="$depends_dev gobject-introspection-dev intltool" -install="" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" -source="https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" +source="https://download.gnome.org/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 -} +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" ./configure --prefix=/usr \ - --sysconfdir=/etc || return 1 - make || return 1 + --sysconfdir=/etc + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } sha512sums="c8008a1a1f111313d9abaff8d4415f112ddc32a02e08845f3735d33bb25b72b082f133daba06749bb9595eaf1ba83b308d30a413fbbe8dcdc1afdd7077a30937 clutter-1.26.2.tar.xz" |