From 1f5aaca5f627f99607c4c8c16ee5a284ec2c2974 Mon Sep 17 00:00:00 2001 From: cr6git Date: Fri, 21 Sep 2018 11:46:31 +0200 Subject: [PATCH] find-cursor: update to 1.1. --- .../find-cursor/patches/fix-makefile.patch | 36 ------------------- srcpkgs/find-cursor/template | 4 +-- 2 files changed, 2 insertions(+), 38 deletions(-) delete mode 100644 srcpkgs/find-cursor/patches/fix-makefile.patch diff --git a/srcpkgs/find-cursor/patches/fix-makefile.patch b/srcpkgs/find-cursor/patches/fix-makefile.patch deleted file mode 100644 index 3e8719385f..0000000000 --- a/srcpkgs/find-cursor/patches/fix-makefile.patch +++ /dev/null @@ -1,36 +0,0 @@ -From ef50d47a314e6906ed2b6e39a5517f6c5937213b Mon Sep 17 00:00:00 2001 -From: maxice8 -Date: Tue, 18 Sep 2018 17:10:31 -0300 -Subject: [PATCH] Makefile: Fix installation and stripping - -- Separate stripping into another step of the package -- Conditionalize stripping the binary, distros don't like when packages do -it because they want the debug symbols included and do their own -stripping after extracting them -- use -Dm755 to create the directory (-D) and set the correct executable -mode -- respect PREFIX which can be set to /usr /usr/local and even / -- respect DESTDIR which is set by distros when they are packaging ---- - Makefile | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - ---- Makefile -+++ Makefile -@@ -1,8 +1,11 @@ - CC?=cc - CFLAGS?=-std=c99 -pedantic -Wall -Os -+STRIP?=strip -+PREFIX?=/usr - - all: - ${CC} ${CFLAGS} -o find-cursor find-cursor.c -lX11 -lXext -lXfixes - - install: -- install --strip -o root -g root find-cursor /bin/ -+ $(STRIP) find-cursor -+ install -Dm755 find-cursor $(DESTDIR)$(PREFIX)/bin/find-cursor --- -2.19.0 - - diff --git a/srcpkgs/find-cursor/template b/srcpkgs/find-cursor/template index 5ab8f9a2bc..6679fc78ae 100644 --- a/srcpkgs/find-cursor/template +++ b/srcpkgs/find-cursor/template @@ -1,6 +1,6 @@ # Template file for 'find-cursor' pkgname=find-cursor -version=1.0 +version=1.1 revision=1 build_style=gnu-makefile makedepends="libXdamage-devel libXrender-devel" @@ -9,7 +9,7 @@ maintainer="biopsin " license="MIT" homepage="https://github.com/Carpetsmoker/find-cursor" distfiles="https://github.com/Carpetsmoker/find-cursor/archive/v${version}.tar.gz" -checksum=8869cbd3366750df03f5921aae460feb6c262cc0c6f4bb170a815add99eaa2c8 +checksum=02bef496b99956440b40ade5a6bf77706b298d6af6e7a1260d4a71729e343f02 post_install() { vlicense LICENSE