diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-04-01 13:44:45 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2018-04-05 11:55:40 +0000 |
commit | c02027fc27e19a9ff437125fec2ef66edc233f35 (patch) | |
tree | 3a339b46a1ddbfdd6a39262c9db9bfd9c8fd9096 /main | |
parent | 0bb83ca8b8d017d9f2af8682babc6abb336545bf (diff) | |
download | aports-c02027fc27e19a9ff437125fec2ef66edc233f35.tar.bz2 aports-c02027fc27e19a9ff437125fec2ef66edc233f35.tar.xz |
main/clutter: modernize abuild
Diffstat (limited to 'main')
-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" |