vp-build/srcpkgs/cqrlog/template

22 lines
677 B
Bash

# Template file for 'cqrlog'
pkgname=cqrlog
version=2.4.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="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=f492839803f7fdbaed873308c169ae251e7b9e6c3eb232a20a5773fd0d9acecd
nopie=yes
pre_configure() {
vsed -i Makefile -e 's|\(--pcp=$(tmpdir)/.lazarus\)|\1 --lazarusdir=/usr/lib/lazarus|g'
}