From c4c3a93edd2c4b321d791353a36adbfe47e54f35 Mon Sep 17 00:00:00 2001 From: Eloi Torrents Date: Fri, 26 Jan 2024 21:14:23 +0100 Subject: [PATCH] New package: sxcs-0.7.3 --- srcpkgs/sxcs/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/sxcs/template diff --git a/srcpkgs/sxcs/template b/srcpkgs/sxcs/template new file mode 100644 index 0000000000000..4137091405540 --- /dev/null +++ b/srcpkgs/sxcs/template @@ -0,0 +1,21 @@ +# Template file for 'sxcs' +pkgname=sxcs +version=0.7.3 +revision=1 +#archs="i686 x86_64" +makedepends="libX11-devel libXcursor-devel libsanitizer-devel" +short_desc="Color picker and magnifier for X11" +maintainer="Eloi Torrents " +license="GPL-3.0-only" +homepage="https://codeberg.org/NRK/sxcs" +distfiles="https://codeberg.org/NRK/sxcs/archive/v${version}.tar.gz" +checksum=ba15e8f49040adcba7b4498e6c3567a7514d0e25c6f74d195e44f58f933c68f3 + +do_build() { + gcc -o sxcs sxcs.c -std=c89 -Wall -Wextra -Wpedantic -g3 -D DEBUG -O0 -fsanitize=address,undefined -l X11 -l Xcursor +} + +do_install() { + vbin sxcs + vman sxcs.1 +}