From 94659c94fef6b61b1a1610a30b3c836e61ea7625 Mon Sep 17 00:00:00 2001 From: lz-coder Date: Sat, 11 Feb 2023 02:37:54 -0300 Subject: [PATCH] New package: somebar-1.0.3 --- srcpkgs/somebar/template | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 srcpkgs/somebar/template diff --git a/srcpkgs/somebar/template b/srcpkgs/somebar/template new file mode 100644 index 000000000000..902676d6d8f9 --- /dev/null +++ b/srcpkgs/somebar/template @@ -0,0 +1,34 @@ +# Template file for 'somebar' +pkgname=somebar +version=1.0.3 +revision=1 +#archs="i686 x86_64" +#build_wrksrc= +build_style=meson +#configure_args="" +#make_build_args="" +#make_install_args="" +#conf_files="" +#make_dirs="/var/log/dir 0755 root root" +hostmakedepends="pkg-config cmake wayland-protocols wayland-devel" +makedepends="cairo-devel pango-devel" +#depends="" +short_desc="Dwm-like bar for dwl" +maintainer="lz-coder " +license="MIT" +homepage="https://git.sr.ht/~raphi/somebar" +#changelog="" +distfiles="https://git.sr.ht/~raphi/${pkgname}/archive/${version}.tar.gz" +checksum=54c958aff5112c469958b85203ec0b8cea43620f687efad7b961adc28ea1059f + +pre_build() { + if [ -e ${FILESDIR} ]; then + [ -e ${FILESDIR}/config.hpp ] && cp ${FILESDIR}/config.hpp src/config.hpp + else + cp src/config.def.hpp src/config.hpp + fi +} + +post_install() { + vlicense LICENSE +}