void-packages/srcpkgs/caja/template

47 lines
1.4 KiB
Plaintext
Raw Normal View History

2014-08-31 18:29:47 +02:00
# Template file for 'caja'
pkgname=caja
2014-09-30 06:38:21 +02:00
version=1.8.2
2014-08-31 18:29:47 +02:00
revision=1
build_style=gnu-configure
configure_args="--with-gtk=2.0 --disable-static --enable-unique
--disable-update-mimedb $(vopt_enable gir introspection)"
2014-09-30 06:49:23 +02:00
hostmakedepends="pkg-config intltool itstool glib-devel"
2014-08-31 18:29:47 +02:00
makedepends="pangox-compat-devel gtk+-devel dbus-devel exempi-devel libexif-devel
libXt-devel mate-desktop-devel startup-notification-devel gvfs-devel libxml2-devel
libunique1-devel $(vopt_if gir gobject-introspection)"
depends="dbus desktop-file-utils gvfs mate-desktop mate-icon-theme"
short_desc="The MATE shell and file manager"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2"
homepage="http://mate-desktop.org"
distfiles="http://pub.mate-desktop.org/releases/1.8/${pkgname}-${version}.tar.xz"
2014-09-30 06:38:21 +02:00
checksum=99331a7439c346382c3b82c889fee9aaabca8760e9c7dfb60041c1fbcd2c6ac0
2014-08-31 18:29:47 +02:00
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
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
}
}