void-packages/srcpkgs/caja-extensions-common/template

67 lines
2.3 KiB
Text

# Template file for 'caja-extensions-common'
pkgname=caja-extensions-common
version=1.8.0
revision=1
build_style=gnu-configure
configure_args="--with-gtk=2.0"
hostmakedepends="pkg-config intltool"
makedepends="libcaja-devel mate-desktop-devel dbus-glib-devel gupnp-devel"
depends="caja"
short_desc="Common files for Caja extensions"
maintainer="Alexey Rochev <equeim@gmail.com>"
license="GPL-2"
homepage="http://mate-desktop.org"
distfiles="http://pub.mate-desktop.org/releases/1.8/${pkgname%-*}-${version}.tar.xz"
checksum=71b4353236b4f13e1984a8497ff80ed63d74141833ba47a32629a5d3505bbc91
wrksrc="${pkgname%-*}-${version}"
caja-gksu_package() {
short_desc="A Caja extension for executing files with elevated privileges"
depends="gksu"
pkg_install() {
vmove usr/lib/caja/extensions-2.0/libcaja-gksu.so
}
}
caja-image-converter_package() {
short_desc="A Caja extension for simple image conversions"
depends="caja-extensions-common 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="A Caja extension for opening terminals in arbitrary local paths"
depends="caja-extensions-common"
pkg_install() {
vmove usr/lib/caja/extensions-2.0/libcaja-open-terminal.so
vmove usr/share/MateConf/gsettings/caja-open-terminal.convert
vmove usr/share/glib-2.0/schemas/org.mate.caja-open-terminal.gschema.xml
}
}
caja-sendto_package() {
short_desc="A Caja extension for sending files"
depends="caja-extensions-common"
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/MateConf/gsettings/caja-sendto-convert
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="A Caja extension to quickly share a folder"
depends="caja-extensions-common samba"
pkg_install() {
vmove usr/lib/caja/extensions-2.0/libcaja-share.so
vmove usr/share/caja-extensions/share-dialog.ui
}
}