51 lines
1.4 KiB
Bash
51 lines
1.4 KiB
Bash
# Template file for 'caja'
|
|
pkgname=caja
|
|
version=1.18.3
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static --disable-packagekit --disable-schemas-compile
|
|
--disable-update-mimedb $(vopt_enable gir introspection)"
|
|
hostmakedepends="automake libtool gettext-devel pkg-config
|
|
intltool itstool glib-devel gobject-introspection"
|
|
makedepends="gtk+3-devel dbus-devel exempi-devel libexif-devel libXt-devel
|
|
mate-desktop-devel startup-notification-devel gvfs-devel libxml2-devel
|
|
libnotify-devel"
|
|
depends="dbus desktop-file-utils gvfs mate-desktop mate-icon-theme"
|
|
short_desc="The MATE shell and file manager"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="LGPL-2"
|
|
homepage="https://mate-desktop.org"
|
|
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=b562c544f907944b2e1ce426b5e1d1d02886ecfff8d44f0a3ae2a2793ac39256
|
|
|
|
build_options="gir"
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
libcaja_package() {
|
|
short_desc+=" - runtime library"
|
|
pkg_install() {
|
|
vmove usr/lib/*.so.*
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/lib/girepository-1.0
|
|
fi
|
|
}
|
|
}
|
|
libcaja-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="lib${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/gtk-doc
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
}
|
|
}
|