void-packages/srcpkgs/seer/template

29 lines
887 B
Bash

# Template file for 'seer'
pkgname=seer
version=2.0
revision=1
build_style=cmake
configure_args="-DQTVERSION=QT5"
build_wrksrc="src"
hostmakedepends="pkg-config"
makedepends="qt5-devel qt5-charts-devel"
depends="gdb"
short_desc="GUI frontend to gdb"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/epasveer/seer"
changelog="https://raw.githubusercontent.com/epasveer/seer/main/CHANGELOG.md"
distfiles="https://github.com/epasveer/seer/archive/v${version}.tar.gz"
checksum=050df5f356ddbae386617aa92edbac5acef254fa10f4ff5cccabe6c5033e8ff5
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-qmake qt5-host-tools"
fi
post_install() {
for x in 32x32 64x64 128x128 256x256 512x512; do
vinstall "resources/seergdb_${x}.png" 644 "usr/share/icons/hicolor/${x}/apps"
done
vinstall resources/seergdb.desktop 644 usr/share/applications
}