30 lines
964 B
Bash
30 lines
964 B
Bash
# Template file for 'xsnow'
|
|
pkgname=xsnow
|
|
version=3.7.8
|
|
revision=1
|
|
build_style=gnu-configure
|
|
build_helper=qemu
|
|
hostmakedepends="gsl-devel pkg-config"
|
|
makedepends="gsl-devel gtk+3-devel libX11-devel libXext-devel libXpm-devel
|
|
libXt-devel"
|
|
short_desc="Snow for your X11 sessions"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://ratrabbit.nl/ratrabbit/xsnow/index.html"
|
|
changelog="https://ratrabbit.nl/ratrabbit/xsnow/changelog/index.html"
|
|
distfiles="https://ratrabbit.nl/downloads/xsnow/${pkgname}-${version}.tar.gz"
|
|
checksum=380f964e40bc1f4f0cec30f3c60bcce23aed43142dc33f60bf6291688dc819cc
|
|
|
|
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
|
|
vinstall src/Pixmaps/xsnow.svg 644 /usr/share/pixmaps
|
|
vinstall data/xsnow.desktop 644 /usr/share/applications
|
|
}
|