void-packages/srcpkgs/hsetroot/template

19 lines
647 B
Bash

# Template file for 'hsetroot'
pkgname=hsetroot
version=1.0.5
revision=1
build_style=gnu-makefile
make_use_env=yes
hostmakedepends="automake libtool pkg-config"
makedepends="libX11-devel imlib2-devel libXinerama-devel"
short_desc="Tool which changes X server wallpapers"
maintainer="Felipe Nogueira <contato.fnog@gmail.com>"
license="GPL-2.0-only"
homepage="https://github.com/himdel/hsetroot"
distfiles="https://github.com/himdel/hsetroot/archive/${version}.tar.gz"
checksum="cff5f83b85a21e0c5c8c8eecbd552090bb75d8ac59e27b0bae48046f9cb5a44a"
pre_build() {
vsed -i 's|install -st $(PREFIX)/bin/|install -Dt $(DESTDIR)$(PREFIX)/bin/|' Makefile
}