void-packages/srcpkgs/dunst/template

24 lines
770 B
Bash
Raw Normal View History

2014-12-02 23:15:17 +00:00
# Template file for 'dunst'
pkgname=dunst
version=1.1.0
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config perl"
makedepends="dbus-devel libXinerama-devel libXft-devel libXScrnSaver-devel
libxdg-basedir-devel pango-devel"
short_desc="Lightweight and customizable notification daemon"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="BSD"
homepage="http://knopwob.org/dunst"
distfiles="http://knopwob.org/public/dunst-release/dunst-${version}.tar.bz2"
checksum=c72bf167eaab4e44a98ec87101b023efee0aa8916df56630b99a5bc53f8d7070
pre_build () {
sed -e 's/CFLAGS/D_CFLAGS/;s/LDFLAGS/D_LDFLAGS/;s/-Os//;s/-g//' -i config.mk
sed -e 's/\(${CFLAGS}\)/\1 ${D_CFLAGS}/;s/\(${LDFLAGS}\)/\1 ${D_LDFLAGS}/' -i Makefile
}
post_install() {
vlicense LICENSE
}