From c3d8cb1e01c5adc490876a150cb414e5b738b780 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..a32f548bdb35 --- /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 +make_build_args="LOCALINC=${XBPS_CROSS_BASE}/usr/include + LOCALLIB=${XBPS_CROSS_BASE}/usr/lib + FREETYPEINC=${XBPS_CROSS_BASE}/usr/include/freetype2 + X11INC=${XBPS_CROSS_BASE}/usr/include/X11 + LDFLAGS+=\$(LIBS) CFLAGS+=\$(INCS)" +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 + +pre_build() { + if [ -e ${FILESDIR}/config.h ]; then + cp ${FILESDIR}/config.h config.h + fi +} + +post_install() { + vlicense LICENSE +}