31 lines
977 B
Bash
31 lines
977 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=gexiv2
|
|
pkgver=0.14.0
|
|
_pkgver=0.14
|
|
pkgrel=1
|
|
pkgdesc='GObject-based wrapper around the Exiv2 library'
|
|
url='https://wiki.gnome.org/Projects/gexiv2'
|
|
arch=(i686 x86_64)
|
|
license=(GPL-2)
|
|
depends=(exiv2 glib2)
|
|
makedepends=(gobject-introspection meson python-pygobject vala)
|
|
optdepends=('gobject-introspection: gir bindings'
|
|
'python-pygobject: python with gobject bindings'
|
|
'vala: vala bindings')
|
|
provides=(libgexiv2)
|
|
conflicts=(libgexiv2)
|
|
replaces=(libgexiv2)
|
|
source=(https://download.gnome.org/sources/$pkgname/$_pkgver/$pkgname-$pkgver.tar.xz)
|
|
sha512sums=('d745ae2d8ddcf0c8a2a7980eaa489f9b520af54242c5e4ddded9c3ae4a579c824c8cb659bd7e985ffa09f9fe37bdf73d6d9181d456711e0953b73023eb0f9f50')
|
|
|
|
build() {
|
|
hyperbola-meson $pkgname-$pkgver build
|
|
meson compile -C build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install -C build
|
|
install -Dm644 $pkgname-$pkgver/COPYING -t $pkgdir/usr/share/licenses/$pkgname
|
|
}
|