vp-build/srcpkgs/cqrlog/template

23 lines
792 B
Bash

# Template file for 'cqrlog'
pkgname=cqrlog
version=2.5.2
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 mariadb libmariadbclient-devel hamlib"
short_desc="Logging program for amateur radio operators"
maintainer="classabbyamp <void@placeviolette.net>"
license="GPL-2.0-or-later"
homepage="https://www.cqrlog.com"
changelog="https://raw.githubusercontent.com/ok2cqr/cqrlog/master/CHANGELOG"
distfiles="https://github.com/ok2cqr/cqrlog/archive/v${version}.tar.gz"
checksum=82837455dc9f44f43dc7658d330c71cf09c38d794addacab1da936fdcdbefdca
nopie=yes
pre_configure() {
vsed -i Makefile -e 's|\(--pcp=$(tmpdir)/.lazarus\)|\1 --lazarusdir=/usr/lib/lazarus|g'
}