From a93e45206db751485f25fcde0588529976df7ef1 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.3.1 --- 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 00000000000..b7feffc9fee --- /dev/null +++ b/srcpkgs/xnotify/template @@ -0,0 +1,27 @@ +# Template file for 'xnotify' +pkgname=xnotify +version=0.3.1 +revision=1 +build_style=gnu-makefile +makedepends="freetype-devel 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=43c03817aca539063c3da63bb3768862b040c29c242a98eb51a40c6653c54582 + +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 +}