# Template file for 'GPaste' pkgname=GPaste version=3.30.1 revision=1 wrksrc="gpaste-${version}" build_style=gnu-configure configure_args="--disable-static --with-gtk=3.0 --with-controlcenterdir=/usr/share/gnome-control-center/keybindings $(vopt_enable gir introspection) $(vopt_enable gir gnome-shell-extension) $(vopt_enable vala vala)" hostmakedepends="gettext-devel glib-devel intltool pkg-config $(vopt_if gir gobject-introspection) $(vopt_if vala vala)" makedepends="appstream-glib-devel dbus-devel gdk-pixbuf-devel gtk+3-devel libglib-devel libXi-devel libXtst-devel libX11-devel $(vopt_if gir gjs-devel) $(vopt_if gir mutter-devel) $(vopt_if vala vala-devel)" short_desc="Clipboard management system" maintainer="Rasmus Thomsen " license="BSD-2-Clause" homepage="https://www.imagination-land.org/tags/GPaste.html" distfiles="https://www.imagination-land.org/files/gpaste/gpaste-${version}.tar.xz" checksum=f91909aea025450816816a14daf8cc973dbb371e9cd4304f17d86fe8090ccc18 # Package build options build_options="gir vala" # Disable gir for cross builds. if [ -z "$CROSS_BUILD" ]; then build_options_default="gir vala" fi 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.*" } }