void-packages/srcpkgs/cqrlog/template

22 lines
685 B
Bash

# 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 <brainwave@openmailbox.org>"
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'
}