From 16e4e1d762194e0487d4854ce942c9eb99726267 Mon Sep 17 00:00:00 2001 From: Imran Khan Date: Wed, 23 Sep 2020 01:26:10 +0600 Subject: [PATCH] New package: xnotify-0.8.1 Closes PR #27198 --- srcpkgs/xnotify/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/xnotify/template diff --git a/srcpkgs/xnotify/template b/srcpkgs/xnotify/template new file mode 100644 index 000000000000..60bb7199f103 --- /dev/null +++ b/srcpkgs/xnotify/template @@ -0,0 +1,27 @@ +# Template file for 'xnotify' +pkgname=xnotify +version=0.8.1 +revision=1 +build_style=gnu-makefile +makedepends="imlib2-devel libXft-devel libXinerama-devel" +short_desc="Popup a notification on the screen" +maintainer="Imran Khan " +license="MIT" +homepage="https://github.com/phillbush/xnotify" +distfiles="https://github.com/phillbush/xnotify/archive/v${version}.tar.gz" +checksum=bb409c37e898674843d5279eb990b3da73cdbf00bc2dc2f8aa36fc0235e3ca7b + +CFLAGS="-I${XBPS_CROSS_BASE}/usr/include" +CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/X11" +CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/freetype2" +LDFLAGS="-lfontconfig -lXft -lXinerama -lX11 -lImlib2" + +pre_build() { + if [ -e ${FILESDIR}/config.h ]; then + cp ${FILESDIR}/config.h config.h + fi +} + +post_install() { + vlicense LICENSE +}