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

49 lines
1.4 KiB
Plaintext

# Template file for 'cairo-dock-plugins'
pkgname=cairo-dock-plugins
version=3.3.1
revision=1
build_style=cmake
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
upower-devel cairo-dock-devel>=3.3.1_2 gnome-menus-devel webkitgtk-devel
vte3-devel vala-devel python-devel python3-devel"
short_desc="Plugins for cairo-dock"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="https://launchpad.net/cairo-dock"
distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/${pkgname}-${version}.tar.gz"
checksum=21d41ffeac6848dced05280641d764709445cad4c4e19082404b74ecd6436fd4
cairo-dock-plugins-python2_package() {
depends="python-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - python2 bindings"
pkg_install() {
vmove usr/lib/python2.7
}
}
cairo-dock-plugins-python3_package() {
depends="python3-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - python3 bindings"
pkg_install() {
vmove usr/lib/python3.3
}
}
cairo-dock-plugins-vala_package() {
depends="vala-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - Vala bindings"
pkg_install() {
vmove usr/share/vala
}
}
cairo-dock-plugins_package() {
depends="cairo-dock>=${version}"
pkg_install() {
vmove all
}
}