diff options
-rw-r--r-- | user/gexiv2/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/user/gexiv2/APKBUILD b/user/gexiv2/APKBUILD new file mode 100644 index 000000000..70f4dd182 --- /dev/null +++ b/user/gexiv2/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house> +# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> +pkgname=gexiv2 +pkgver=0.14.2 +pkgrel=0 +pkgdesc="GObject-based Exiv2 wrapper" +url="https://gitlab.gnome.org/GNOME/gexiv2" +arch="all" +license="GPL-2.0-only" +depends="" +makedepends="meson ninja exiv2-dev glib-dev gobject-introspection-dev gtk-doc py3-pygobject vala-dev" +subpackages="$pkgname-dev $pkgname-doc" +source="https://download.gnome.org/sources/gexiv2/0.14/gexiv2-$pkgver.tar.xz" + +build() { + meson setup \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + --wrap-mode=nofallback \ + -Dgtk_doc=true \ + . output + meson compile -C output +} + +check() { + meson test -C output +} + +package() { + DESTDIR="$pkgdir" meson install -C output +} + +sha512sums="16536be5180d5f13f549a68f5b701343a1246eca99083e43e6fc700b151614ea80696f931fcbc721b05955173e3206819b593e5b0fcd8ad4fd7d3b287d9c1441 gexiv2-0.14.2.tar.xz" |