From 8de6b4b8e7ebfb481ae8f82b55092f85b1cdb244 Mon Sep 17 00:00:00 2001 From: Felipe Nogueira Date: Sat, 15 Feb 2020 08:47:55 -0300 Subject: [PATCH] hsetroot: update to 1.0.5. --- srcpkgs/hsetroot/patches/fix-libx11.patch | 11 ----------- srcpkgs/hsetroot/template | 22 +++++++++++----------- 2 files changed, 11 insertions(+), 22 deletions(-) delete mode 100644 srcpkgs/hsetroot/patches/fix-libx11.patch diff --git a/srcpkgs/hsetroot/patches/fix-libx11.patch b/srcpkgs/hsetroot/patches/fix-libx11.patch deleted file mode 100644 index ab49a4114fe..00000000000 --- a/srcpkgs/hsetroot/patches/fix-libx11.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- src/Makefile.am.orig -+++ src/Makefile.am -@@ -1,7 +1,7 @@ - bin_PROGRAMS = hsetroot - - AM_CFLAGS = @CFLAGS@ @IMLIB2_CFLAGS@ -Wall --LIBS = @IMLIB2_LIBS@ -+LIBS = @IMLIB2_LIBS@ -lX11 - - hsetroot_SOURCES = hsetroot.c - diff --git a/srcpkgs/hsetroot/template b/srcpkgs/hsetroot/template index 72c33b45be8..968ccfddb1f 100644 --- a/srcpkgs/hsetroot/template +++ b/srcpkgs/hsetroot/template @@ -1,18 +1,18 @@ # Template file for 'hsetroot' pkgname=hsetroot -version=1.0.2 -revision=9 -wrksrc="hsetroot-${version}.orig" -build_style=gnu-configure +version=1.0.5 +revision=1 +build_style=gnu-makefile +make_use_env=yes hostmakedepends="automake libtool pkg-config" -makedepends="libX11-devel imlib2-devel" +makedepends="libX11-devel imlib2-devel libXinerama-devel" short_desc="Tool which changes X server wallpapers" -maintainer="Orphaned " +maintainer="Felipe Nogueira " license="GPL-2.0-only" -homepage="https://directory.fsf.org/wiki/Hsetroot" -distfiles="${DEBIAN_SITE}/main/h/hsetroot/hsetroot_${version}.orig.tar.gz" -checksum=597fe1175e590d54d0927095ce361c86ddef15ebc70a96c4bf509f6cb9165723 +homepage="https://github.com/himdel/hsetroot" +distfiles="https://github.com/himdel/hsetroot/archive/${version}.tar.gz" +checksum="cff5f83b85a21e0c5c8c8eecbd552090bb75d8ac59e27b0bae48046f9cb5a44a" -pre_configure() { - autoreconf -if +pre_build() { + vsed -i 's|install -st $(PREFIX)/bin/|install -Dt $(DESTDIR)$(PREFIX)/bin/|' Makefile }