93 lines
3.0 KiB
Bash
93 lines
3.0 KiB
Bash
# Template file for 'caja-extensions'
|
|
pkgname=caja-extensions
|
|
version=1.28.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-gksu --disable-static"
|
|
hostmakedepends="pkg-config intltool glib-devel libxml2 gettext"
|
|
makedepends="libcaja-devel mate-desktop-devel dbus-glib-devel gupnp-devel
|
|
gst-plugins-base1-devel totem-devel gtk+3-devel dbus-devel"
|
|
depends="caja"
|
|
short_desc="Extensions for the MATE Caja file manager"
|
|
maintainer="skmpz <dem.procopiou@gmail.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://mate-desktop.org"
|
|
changelog="https://raw.githubusercontent.com/mate-desktop/caja-extensions/master/NEWS"
|
|
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=d2986c5e0740835fe271cfbd5823eeeaf03291af1763203f4700abb8109e3175
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/usr/include
|
|
rm -rf ${DESTDIR}/usr/lib/pkgconfig
|
|
rm -rf ${DESTDIR}/usr/share/gtk-doc
|
|
}
|
|
|
|
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/libcaja-image-converter.caja-extension
|
|
}
|
|
}
|
|
|
|
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/caja/extensions/libcaja-open-terminal.caja-extension
|
|
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/lib/caja-sendto
|
|
vmove usr/lib/caja/extensions-2.0/libcaja-sendto.so
|
|
vmove usr/share/caja/extensions/libcaja-sendto.caja-extension
|
|
vmove usr/share/glib-2.0/schemas/org.mate.Caja.Sendto.gschema.xml
|
|
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/libcaja-share.caja-extension
|
|
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
|
|
vmove usr/share/caja/extensions/libcaja-wallpaper.caja-extension
|
|
}
|
|
}
|
|
|
|
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
|
|
vmove usr/share/caja/extensions/libcaja-xattr-tags.caja-extension
|
|
}
|
|
}
|
|
|
|
caja-av_package() {
|
|
short_desc="Caja extension to see audio/video properties"
|
|
depends="caja-extensions"
|
|
pkg_install() {
|
|
vmove usr/lib/caja/extensions-2.0/libcaja-av.so
|
|
vmove usr/share/caja/extensions/libcaja-av.caja-extension
|
|
}
|
|
}
|