# Template file for 'GPaste' pkgname=GPaste version=43.0 revision=1 build_helper="gir" build_style=meson configure_args="$(vopt_bool gnome_shell gnome-shell) -Dcontrol-center-keybindings-dir=/usr/share/gnome-control-center/keybindings -Dsystemd-user-unit-dir=/usr/lib/systemd/user" hostmakedepends="gettext glib-devel pkg-config vala gobject-introspection desktop-file-utils" makedepends="gtk+3-devel gtk4-devel appstream-glib-devel dbus-devel gdk-pixbuf-devel libadwaita-devel libglib-devel libXi-devel libXtst-devel libX11-devel harfbuzz-devel $(vopt_if gnome_shell 'gjs-devel mutter-devel') vala-devel gcr-devel" short_desc="Clipboard management system" maintainer="Enno Boland " license="BSD-2-Clause" homepage="https://www.imagination-land.org/tags/GPaste.html" #changelog="https://raw.githubusercontent.com/Keruspe/GPaste/gpaste-43/NEWS" changelog="https://raw.githubusercontent.com/Keruspe/GPaste/master/NEWS" distfiles="https://www.imagination-land.org/files/gpaste/GPaste-${version}.tar.xz" checksum=383e3474ecc78ad7312ab336e19ca112959412db4b4274c6b59dc9153b0ba5de build_options="gnome_shell" desc_option_gnome_shell="Build GNOME Shell integration and extension" build_options_default="gnome_shell" post_install() { vlicense COPYING } GPaste-devel_package() { depends="libgpaste>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig vmove usr/share/gir-1.0 vmove usr/share/vala vmove "usr/lib/*.so" } } libgpaste_package() { short_desc+=" - gpaste library" pkg_install() { vmove "usr/lib/libgpaste-*.so.*" } }