void-packages/srcpkgs/xwallpaper/template

31 lines
846 B
Bash

# Template file for 'xwallpaper'
pkgname=xwallpaper
version=0.6.0
revision=1
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=806456a86e203b7f6760257e86d2613b531289a6a9d043d1cf5a0dd0b6d0f226
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
}