diff --git a/srcpkgs/cqrlog/template b/srcpkgs/cqrlog/template new file mode 100644 index 00000000000..915528bafe6 --- /dev/null +++ b/srcpkgs/cqrlog/template @@ -0,0 +1,21 @@ +# Template file for 'cqrlog' +pkgname=cqrlog +version=2.3.0 +revision=1 +archs="x86_64 i686" # Lazarus only supports these platforms +build_style=gnu-makefile +make_use_env=yes +hostmakedepends="lazarus" +makedepends="gtk+-devel" +depends="mariadb xdg-utils" +short_desc="Logging program for amateur radio operators" +maintainer="bra1nwave " +license="GPL-2.0-or-later" +homepage="https://www.cqrlog.com" +distfiles="https://github.com/ok2cqr/cqrlog/archive/v${version}.tar.gz" +checksum=59809b3fba42b17e3c50aaefe6fe57d593d847c9697ee6386ee4a64b6b04c483 +nopie=yes + +pre_configure() { + vsed -i Makefile -e 's|\(--pcp=$(tmpdir)/.lazarus\)|\1 --lazarusdir=/usr/lib/lazarus|g' +}