# Maintainer: Jesus E. pkgname=libpeas pkgver=1.30.0 pkgrel=2 pkgdesc="A GObject plugins library" arch=('i686' 'x86_64') url='https://wiki.gnome.org/Projects/Libpeas' license=('GPL-2') depends=('gtk' 'gobject-introspection-runtime') makedepends=('python-pygobject' 'gobject-introspection' 'meson' 'vala') optdepends=('python-pygobject: Python loader') source=("https://gitlab.gnome.org/GNOME/${pkgname}/-/archive/${pkgname}-${pkgver}/${pkgname}-${pkgname}-${pkgver}.tar.gz") sha512sums=('4effd07e8675c0cb34a4eb4a804070042d91e61c62c69fad1652a730b5942f5c21015cd357c95e23d1f04f54cc8800bdde7229252d6d9e355eef24cddca54a3f') prepare() { mv "$pkgname-$pkgname-$pkgver" "$pkgname-$pkgver" } build() { cd "$pkgname-$pkgver" hyperbola-meson build -D vapi=true -D gtk_doc=false meson compile -C build } package() { cd "$pkgname-$pkgver" DESTDIR="$pkgdir" meson install -C build install -Dm644 COPYING -t $pkgdir/usr/share/licenses/$pkgname }