2014-12-03 16:28:03 +01:00
|
|
|
# Template file for 'caja-extensions-common'
|
|
|
|
pkgname=caja-extensions-common
|
2015-05-19 11:45:41 +02:00
|
|
|
version=1.10.0
|
2014-12-03 16:28:03 +01:00
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--with-gtk=2.0"
|
2015-05-19 11:45:41 +02:00
|
|
|
hostmakedepends="pkg-config intltool glib-devel"
|
2014-12-03 16:28:03 +01:00
|
|
|
makedepends="libcaja-devel mate-desktop-devel dbus-glib-devel gupnp-devel"
|
|
|
|
depends="caja"
|
2014-12-03 20:14:44 +01:00
|
|
|
short_desc="Common files for Caja extensions"
|
2014-12-03 16:28:03 +01:00
|
|
|
maintainer="Alexey Rochev <equeim@gmail.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://mate-desktop.org"
|
2015-05-19 11:45:41 +02:00
|
|
|
distfiles="http://pub.mate-desktop.org/releases/${version%.*}/${pkgname%-*}-${version}.tar.xz"
|
|
|
|
checksum=08dd6e5d649fbcdc53a1684e89ab0f4e74a812dd1d7b684201b63f94f649b0ea
|
2014-12-03 16:28:03 +01:00
|
|
|
|
|
|
|
wrksrc="${pkgname%-*}-${version}"
|
|
|
|
|
|
|
|
caja-gksu_package() {
|
2014-12-03 20:14:44 +01:00
|
|
|
short_desc="A Caja extension for executing files with elevated privileges"
|
2014-12-03 16:28:03 +01:00
|
|
|
depends="gksu"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/caja/extensions-2.0/libcaja-gksu.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
caja-image-converter_package() {
|
2014-12-03 20:14:44 +01:00
|
|
|
short_desc="A Caja extension for simple image conversions"
|
2014-12-03 20:22:26 +01:00
|
|
|
depends="caja-extensions-common ImageMagick"
|
2014-12-03 16:28:03 +01:00
|
|
|
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() {
|
2014-12-03 20:14:44 +01:00
|
|
|
short_desc="A Caja extension for opening terminals in arbitrary local paths"
|
2014-12-03 16:28:03 +01:00
|
|
|
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() {
|
2014-12-03 20:14:44 +01:00
|
|
|
short_desc="A Caja extension for sending files"
|
2014-12-03 16:28:03 +01:00
|
|
|
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() {
|
2014-12-03 20:14:44 +01:00
|
|
|
short_desc="A Caja extension to quickly share a folder"
|
2014-12-03 16:28:03 +01:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|