diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-09-11 22:22:25 +0200 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2019-09-27 22:46:33 +0200 |
commit | f44372994fab1dcc7fd5ea53f79e2836afb9b5a3 (patch) | |
tree | dfcfb4a2dff493fd776be36d3ebc7c7b875fe910 | |
parent | 83915dc015ca5e7c8e6bf40a0520725c79adbe00 (diff) | |
download | aports-f44372994fab1dcc7fd5ea53f79e2836afb9b5a3.tar.bz2 aports-f44372994fab1dcc7fd5ea53f79e2836afb9b5a3.tar.xz |
testing/graphene: new aport
-rw-r--r-- | testing/graphene/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/graphene/APKBUILD b/testing/graphene/APKBUILD new file mode 100644 index 0000000000..a568202ab7 --- /dev/null +++ b/testing/graphene/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +pkgname="graphene" +pkgver="1.10.0" +pkgrel=0 +pkgdesc="A thin layer of graphic data types" +url="http://ebassi.github.io/graphene/" +arch="all" +license="MIT" +makedepends="meson glib-dev gobject-introspection-dev" +subpackages="$pkgname-dev" +source="https://download.gnome.org/sources/graphene/${pkgver%.*}/graphene-$pkgver.tar.xz" + +build() { + meson \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + -Dinstalled_tests=false \ + . output + ninja -C output +} + +check() { + ninja -C output test +} + +package() { + DESTDIR="$pkgdir" ninja -C output install +} + +sha512sums="842ac2c9c2046f07f8421b99292cac348276bb1e025250c7e0dc3ec7f90cb33094b765034862f325dd78f93aa5484ad75a4ad6139fe13330d9e41e3a7cb830d0 graphene-1.10.0.tar.xz" |