void-packages/srcpkgs/startup-notification/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

24 lines
823 B
Bash

# Template build file for 'startup-notification'.
pkgname=startup-notification
version=0.12
revision=9
build_style=gnu-configure
configure_args="--disable-static lf_cv_sane_realloc=yes lf_cv_sane_malloc=yes"
hostmakedepends="pkg-config"
makedepends="libX11-devel libSM-devel xcb-util-devel"
short_desc="Library for tracking application startup"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.freedesktop.org"
license="LGPL-2.1"
distfiles="http://www.freedesktop.org/software/$pkgname/releases/$pkgname-$version.tar.gz"
checksum=3c391f7e930c583095045cd2d10eb73a64f085c7fde9d260f2652c7cb3cfbe4a
startup-notification-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}