void-packages/srcpkgs/cairo-dock-plugins/template

42 lines
1.4 KiB
Bash
Raw Normal View History

2013-10-13 17:26:21 +02:00
# Template file for 'cairo-dock-plugins'
pkgname=cairo-dock-plugins
2014-11-19 08:46:46 +01:00
version=3.4.0
revision=2
2013-10-13 17:26:21 +02:00
build_style=cmake
2014-11-19 08:43:51 +01:00
build_options="systemd"
2013-10-13 17:26:21 +02:00
hostmakedepends="cmake pkg-config"
# XXX libetpan, libdbusmenu, etc
makedepends="alsa-lib-devel fftw-devel pulseaudio-devel libexif-devel
libical-devel libxklavier-devel zeitgeist-devel libsensors-devel
cairo-dock-devel gnome-menus-devel webkitgtk-devel
vte290-devel vala-devel python-devel python3.4-devel upower0-devel"
depends="cairo-dock>=${version} $(vopt_if systemd '' 'ConsoleKit2 upower0')"
2013-10-13 17:26:21 +02:00
short_desc="Plugins for cairo-dock"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2013-10-13 17:26:21 +02:00
license="GPL-2"
homepage="https://launchpad.net/cairo-dock"
distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/${pkgname}-${version}.tar.gz"
2014-11-19 08:46:46 +01:00
checksum=7ffcf40f07cd05bef826ad47f1f11940b9813d279c9e5117384f14f1f32d8dbd
2013-10-13 17:26:21 +02:00
cairo-dock-plugins-python2_package() {
depends="python ${sourcepkg}>=${version}_${revision}"
2013-10-13 17:26:21 +02:00
short_desc+=" - python2 bindings"
pkg_install() {
vmove usr/lib/python2.7
}
}
cairo-dock-plugins-python3.4_package() {
depends="python3.4 ${sourcepkg}>=${version}_${revision}"
short_desc+=" - python3.4 bindings"
2013-10-13 17:26:21 +02:00
pkg_install() {
vmove usr/lib/python3.4
2013-10-13 17:26:21 +02:00
}
}
cairo-dock-plugins-vala_package() {
depends="vala-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - Vala bindings"
pkg_install() {
vmove usr/share/vala
}
}