From d7568e23a0cc709d35a23072d841386f160eced0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?n=C3=A9p=C3=A9ta?= Date: Thu, 2 Nov 2023 20:13:27 +1100 Subject: [PATCH] New package: xnotify-0.9.3 --- srcpkgs/xnotify/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/xnotify/template diff --git a/srcpkgs/xnotify/template b/srcpkgs/xnotify/template new file mode 100644 index 0000000000000..c2cfab1cd46c3 --- /dev/null +++ b/srcpkgs/xnotify/template @@ -0,0 +1,24 @@ +# Template file for 'xnotify' +pkgname=xnotify +version=0.9.3 +revision=1 +build_style=gnu-makefile +makedepends="imlib2-devel libXft-devel libX11-devel libXinerama-devel" +short_desc="Read notifications from stdin and pop them up on the screen" +maintainer="népéta " +license="MIT" +homepage="https://github.com/phillbush/xnotify" +distfiles="https://github.com/phillbush/xnotify/archive/refs/tags/v0.9.3.tar.gz" +checksum=9fa7505ad16c8d5e2305a56d0d88ca3a7e324816b4df7845b920db088482eb24 + +do_build() { + [ -e ${FILESDIR}/config.h ] && cp ${FILESDIR}/config.h config.h + make INCS="-I${XBPS_CROSS_BASE}/usr/include -I${XBPS_CROSS_BASE}/usr/include/freetype2" \ + LIBS="-lfontconfig -lXft -lX11 -lXinerama -lImlib2" +} + +do_install() { + make PREFIX=/usr DESTDIR=${DESTDIR} install + vdoc README.md + vlicense LICENSE +}