void-packages/srcpkgs/cairo-dock/template

35 lines
1 KiB
Bash

# Template file for 'cairo-dock'
pkgname=cairo-dock
version=3.4.1
revision=1
lib32disabled=yes
build_style=cmake
configure_args="-Denable-desktop-manager=ON"
hostmakedepends="pkg-config"
makedepends="libcurl-devel dbus-glib-devel libXtst-devel gtk+3-devel librsvg-devel glu-devel"
depends="desktop-file-utils"
short_desc="Light eye-candy fully themable animated dock"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="https://launchpad.net/${pkgname}"
distfiles="http://launchpad.net/${pkgname}-core/${version%.?}/${version}/+download/${pkgname}-${version}.tar.gz"
checksum=dcadbbe089487f22b112f25a91d1c966275b245f248f950c6987de787eb95137
CFLAGS="-D_BSD_SOURCE"
CXXFLAGS="-D_BSD_SOURCE"
cairo-dock-devel_package() {
short_desc+=" - development files"
depends="${makedepends} libgldi>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
libgldi_package() {
short_desc+=" - OpenGL Desktop Interface"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}