void-packages/srcpkgs/caja/template

48 lines
1.4 KiB
Bash
Raw Normal View History

2014-08-31 18:29:47 +02:00
# Template file for 'caja'
pkgname=caja
2015-07-22 10:15:53 +02:00
version=1.10.3
2015-07-25 11:03:09 +02:00
revision=2
build_pie=yes
2014-08-31 18:29:47 +02:00
build_style=gnu-configure
configure_args="--with-gtk=2.0 --disable-static --enable-unique
--disable-update-mimedb $(vopt_enable gir introspection)"
2015-06-12 08:24:21 +02:00
hostmakedepends="pkg-config intltool itstool glib-devel $(vopt_if gir gobject-introspection)"
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
2015-06-12 08:24:21 +02:00
libunique1-devel"
2014-08-31 18:29:47 +02:00
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>"
2014-08-31 18:29:47 +02:00
license="LGPL-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"
2015-07-22 10:15:53 +02:00
checksum=d7132b85d368caf88e46422c23cdc3c280a8ea7c8fed4ebb5cfc2492b28cfdd5
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
}
}