# Template file for 'caja-dropbox'
pkgname=caja-dropbox
version=1.28.0
revision=1
archs="x86_64 i686"
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="gettext pkg-config python3-docutils python3-gobject
 gdk-pixbuf"
makedepends="libcaja-devel glib-devel gtk+3-devel python3-gobject-devel"
depends="caja"
short_desc="Dropbox extension for Caja file manager"
maintainer="Orphaned <orphan@voidlinux.org>"
license="CC-BY-ND-3.0, GPL-3.0-or-later"
homepage="https://mate-desktop.org"
changelog="https://raw.githubusercontent.com/mate-desktop/caja-dropbox/master/NEWS"
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=b74c38a994254bd3cf7cbc712bc2ec7516a0ca942aa6578526cdbd6aa6201963

post_patch() {
	if [ "$CROSS_BUILD" ]; then
		vsed -i 's/man_MANS =.*/man_MANS =/' \
			Makefile.am Makefile.in
	fi
}

post_install() {
	vlicense COPYING
}
