From 5a3381268526772817a4fba659e437a242b1c9df Mon Sep 17 00:00:00 2001 From: Duncaen Date: Thu, 26 Aug 2021 18:43:38 +0200 Subject: [PATCH] unclutter-xfixes: update to 1.6. --- srcpkgs/unclutter-xfixes/template | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/srcpkgs/unclutter-xfixes/template b/srcpkgs/unclutter-xfixes/template index b0c4e1caf2f..c0022b0aad5 100644 --- a/srcpkgs/unclutter-xfixes/template +++ b/srcpkgs/unclutter-xfixes/template @@ -1,6 +1,6 @@ # Template file for 'unclutter-xfixes' pkgname=unclutter-xfixes -version=1.5 +version=1.6 revision=1 build_style=gnu-makefile make_use_env=yes @@ -12,11 +12,16 @@ maintainer="Duncaen " license="MIT" homepage="https://github.com/Airblader/unclutter-xfixes" distfiles="https://github.com/Airblader/unclutter-xfixes/archive/v${version}.tar.gz" -checksum=35c75ad24be989dd6708db1d9ce9b2a2f814b80638c0633cdb075c6df090ed11 +checksum=6f7f248f16b7d4ec7cb144b6bc5a66bd49078130513a184f4dc16c498d457db9 conflicts="unclutter>=0" -pre_build() { - sed -e '/^CC/d' \ +post_extract() { + vsed -e '/^CC/d' \ -e '/^.PHONY: $(TARGET)/d' \ + -e '/ LICENSE$/d' \ -i Makefile } + +post_install() { + vlicense LICENSE +}