void-packages/srcpkgs/xwallpaper/template

31 lines
846 B
Bash

# Template file for 'xwallpaper'
pkgname=xwallpaper
version=0.4.1
revision=2
build_style=gnu-configure
hostmakedepends="automake pkg-config"
makedepends="libjpeg-turbo-devel libpng-devel libseccomp-devel
libXpm-devel pixman-devel xcb-util-image-devel"
short_desc="Wallpaper setting utility for X"
maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://github.com/stoeckmann/xwallpaper"
distfiles="https://github.com/stoeckmann/xwallpaper/archive/v${version}.tar.gz"
checksum=d99868a69125957bfd0209b6842d59b3626739abceb3c5bcf0859f8ebd7e852b
case "$XBPS_TARGET_MACHINE" in
i686*) configure_args+=" --without-seccomp" ;;
*) ;;
esac
pre_configure() {
autoreconf -fiv
}
post_install() {
vmkdir usr/share/zsh/site-functions
mv ${DESTDIR}/usr/share/zsh/{vendor-completions,site-functions}/_xwallpaper
vlicense LICENSE
}