30 lines
846 B
Bash
30 lines
846 B
Bash
# Template file for 'xwallpaper'
|
|
pkgname=xwallpaper
|
|
version=0.5.0
|
|
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=62274a2dcedc53575136482588577dc325635a4391930d4c15da4768ae2ab1fc
|
|
|
|
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
|
|
}
|