From 30d58cdef47a10be642cfa31b43085aa267d76bb Mon Sep 17 00:00:00 2001 From: Maxim Karasev Date: Sun, 2 May 2021 19:39:29 +0300 Subject: [PATCH] New package: afetch-2.1.0 --- srcpkgs/afetch/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/afetch/template diff --git a/srcpkgs/afetch/template b/srcpkgs/afetch/template new file mode 100644 index 000000000000..a9d5b593341b --- /dev/null +++ b/srcpkgs/afetch/template @@ -0,0 +1,20 @@ +# Template file for 'afetch' +pkgname=afetch +version=2.1.0 +revision=1 +depends="xbps" +short_desc="Fast and simple system info written in C" +maintainer="Maxim Karasev " +license="GPL-3.0-or-later" +homepage="https://github.com/13-CF/afetch" +distfiles="http://github.com/13-CF/afetch/archive/V${version}.tar.gz" +checksum=cd6a6abdabf954395c1434f79e7d71646a015451fa3d69ba8d102d994eb8071e + +do_build() { + [ -e ${FILESDIR}/config.h ] && cp ${FILESDIR}/config.h src/config.h + make CFLAGS="${CFLAGS} -std=c99" LDFLAGS="${LDFLAGS} -lpthread" all +} + +do_install() { + vbin afetch +}