aboutsummaryrefslogtreecommitdiffstats
path: root/testing/clutter-gtk
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-05-10 13:52:05 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-06-05 17:49:55 +0000
commitf7a18dc69bc54d22082a91263f51bf9144d37068 (patch)
tree463aa1471a02dddb8ca29275542fbac2a40329c1 /testing/clutter-gtk
parent8387cfde9fa270b23bcdf9bcf83ae121c3441396 (diff)
downloadaports-f7a18dc69bc54d22082a91263f51bf9144d37068.tar.bz2
aports-f7a18dc69bc54d22082a91263f51bf9144d37068.tar.xz
testing/clutter-gtk: modernize APKBUILD
* Adopt maintainership * Fix URL&License * enable GIR generation
Diffstat (limited to 'testing/clutter-gtk')
-rw-r--r--testing/clutter-gtk/APKBUILD22
1 files changed, 10 insertions, 12 deletions
diff --git a/testing/clutter-gtk/APKBUILD b/testing/clutter-gtk/APKBUILD
index 574b0cfc18..1978b25e1e 100644
--- a/testing/clutter-gtk/APKBUILD
+++ b/testing/clutter-gtk/APKBUILD
@@ -1,21 +1,16 @@
-# Maintainer:
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=clutter-gtk
pkgver=1.8.4
-pkgrel=0
+pkgrel=1
pkgdesc="Gtk clutter embed library"
-url="http://clutter-project.org/"
+url="https://wiki.gnome.org/Projects/Clutter"
arch="all"
-license="LGPL"
-depends=""
-depends_dev="gtk+3.0-dev clutter-dev"
-makedepends="$depends_dev libxslt libxml2-utils itstool"
-install=""
+license="LGPL-2.0-or-later"
+makedepends="gtk+3.0-dev clutter-dev libxslt libxml2-utils itstool gobject-introspection-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
-source="https://download.gnome.org/sources/clutter-gtk/1.8/clutter-gtk-$pkgver.tar.xz"
-builddir="$srcdir/clutter-gtk-$pkgver"
+source="https://download.gnome.org/sources/clutter-gtk/${pkgver%.*}/clutter-gtk-$pkgver.tar.xz"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -26,8 +21,11 @@ build() {
make
}
+check() {
+ make check
+}
+
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}