51 lines
1.4 KiB
Bash
51 lines
1.4 KiB
Bash
# Template file for 'caja'
|
|
pkgname=caja
|
|
version=1.22.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
build_helper="gir"
|
|
configure_args="--disable-static --disable-packagekit --disable-schemas-compile
|
|
--disable-update-mimedb $(vopt_enable gir introspection)
|
|
ac_cv_lib_selinux_is_selinux_enabled=no ac_cv_strftime_extensions=yes"
|
|
hostmakedepends="automake gettext-devel glib-devel gobject-introspection
|
|
intltool itstool libtool pkg-config"
|
|
makedepends="exempi-devel gvfs-devel libXt-devel libexif-devel libnotify-devel
|
|
mate-desktop-devel"
|
|
depends="dbus gvfs mate-desktop mate-icon-theme"
|
|
short_desc="MATE shell and file manager"
|
|
maintainer="Juan RP <xtraeme@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=3b26efd276c68a579db443ea1f85a270cd33c59284667d5db8d5d355a3f46781
|
|
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
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
|
|
}
|
|
}
|