void-packages/srcpkgs/dunst/template

25 lines
779 B
Bash
Raw Normal View History

2014-12-03 00:15:17 +01:00
# Template file for 'dunst'
pkgname=dunst
version=1.1.0
2015-07-25 13:52:11 +02:00
revision=2
build_pie=yes
2014-12-03 00:15:17 +01:00
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"
2015-04-18 10:31:11 +02:00
distfiles="https://github.com/knopwob/dunst/archive/v${version}.tar.gz"
checksum=1a075a0aee56aea5aa2007f156f97bd180b3c771b7751729612629a04f712575
2014-12-03 00:15:17 +01:00
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
}