xsnow: rebuild for gsl

- fix cross (regex did not match, and no need for qemu)
This commit is contained in:
Gonzalo Tornaría 2024-05-25 13:33:13 -03:00 committed by Andrew J. Hesford
parent 788bc519dc
commit 43330a7b6a
1 changed files with 1 additions and 8 deletions

View File

@ -1,9 +1,8 @@
# Template file for 'xsnow'
pkgname=xsnow
version=3.7.9
revision=2
revision=3
build_style=gnu-configure
build_helper=qemu
hostmakedepends="gsl-devel pkg-config gettext tar"
makedepends="gsl-devel gtk+3-devel libX11-devel libXext-devel libXpm-devel
libXt-devel"
@ -15,12 +14,6 @@ changelog="https://ratrabbit.nl/ratrabbit/xsnow/changelog/index.html"
distfiles="https://ratrabbit.nl/downloads/xsnow/${pkgname}-${version}.tar.gz"
checksum=0c4cd06e551f9b691dd08db5b14c0edc45549bf5879ce93b4fa88c828dfe1006
pre_build() {
if [ "$CROSS_BUILD" ]; then
vsed -e "s:./xsnow -manpage:/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &:" -i src/Makefile.am src/Makefile.in
fi
}
do_install() {
vbin src/xsnow
vman src/xsnow.6