void-packages/srcpkgs/caja-extensions/template

76 lines
2.3 KiB
Bash

# Template file for 'caja-extensions'
pkgname=caja-extensions
version=1.22.1
revision=1
build_style=gnu-configure
configure_args="--disable-gksu"
hostmakedepends="pkg-config intltool glib-devel"
makedepends="libcaja-devel mate-desktop-devel dbus-glib-devel gupnp-devel"
depends="caja"
short_desc="Extensions for the MATE Caja file manager"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://mate-desktop.org"
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=d0845b6f2921ee7b7c951d4490a4fd7166f90b85f60a22aef77c75b53fbcf077
caja-image-converter_package() {
short_desc="Caja extension for simple image conversions"
depends="caja-extensions ImageMagick"
pkg_install() {
vmove usr/lib/caja/extensions-2.0/libcaja-image-converter.so
vmove usr/share/caja-extensions/caja-image-resize.ui
vmove usr/share/caja-extensions/caja-image-rotate.ui
}
}
caja-open-terminal_package() {
short_desc="Caja extension for opening terminals in arbitrary local paths"
depends="caja-extensions"
pkg_install() {
vmove usr/lib/caja/extensions-2.0/libcaja-open-terminal.so
vmove usr/share/glib-2.0/schemas/org.mate.caja-open-terminal.gschema.xml
}
}
caja-sendto_package() {
short_desc="Caja extension for sending files"
depends="caja-extensions"
pkg_install() {
vmove usr/bin/caja-sendto
vmove usr/include/caja-sendto/*
vmove usr/lib/caja-sendto/*
vmove usr/lib/caja/extensions-2.0/libcaja-sendto.so
vmove usr/lib/pkgconfig/caja-sendto.pc
vmove usr/share/caja-extensions/caja-sendto.ui
vmove usr/share/glib-2.0/schemas/org.mate.Caja.Sendto.gschema.xml
vmove usr/share/gtk-doc/html/caja-sendto/*
vmove usr/share/man/man1/caja-sendto.1
}
}
caja-share_package() {
short_desc="Caja extension to quickly share a folder"
depends="caja-extensions samba"
pkg_install() {
vmove usr/lib/caja/extensions-2.0/libcaja-share.so
vmove usr/share/caja-extensions/share-dialog.ui
}
}
caja-wallpaper_package() {
short_desc="Caja extension to quickly set wallpaper"
depends="caja-extensions"
pkg_install() {
vmove usr/lib/caja/extensions-2.0/libcaja-wallpaper.so
}
}
caja-xattr-tags_package() {
short_desc="Caja extension to see tags stored on xattrs"
depends="caja-extensions"
pkg_install() {
vmove usr/lib/caja/extensions-2.0/libcaja-xattr-tags.so
}
}