From 0a127f434d2c2ef7a6872b49beee1b59319e4783 Mon Sep 17 00:00:00 2001 From: teldra Date: Wed, 5 Feb 2020 22:09:20 +0100 Subject: [PATCH] fdupes: update to 2.0.0 --- srcpkgs/fdupes/patches/makefile-fix.patch | 14 ------------ srcpkgs/fdupes/template | 27 ++++++++++------------- 2 files changed, 12 insertions(+), 29 deletions(-) delete mode 100644 srcpkgs/fdupes/patches/makefile-fix.patch diff --git a/srcpkgs/fdupes/patches/makefile-fix.patch b/srcpkgs/fdupes/patches/makefile-fix.patch deleted file mode 100644 index 58d7cd635cd..00000000000 --- a/srcpkgs/fdupes/patches/makefile-fix.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- Makefile.orig 2016-08-21 06:54:46.000000000 +0200 -+++ Makefile 2016-10-19 23:07:16.658682733 +0200 -@@ -71,9 +71,9 @@ - # Make Configuration - # - CC ?= gcc --COMPILER_OPTIONS = -Wall -O -g -+CFLAGS ?= -Wall -O -g - --CFLAGS= $(COMPILER_OPTIONS) -I. -DVERSION=\"$(VERSION)\" $(OMIT_GETOPT_LONG) $(FILEOFFSET_64BIT) -+CFLAGS += -I. -DVERSION=\"$(VERSION)\" $(OMIT_GETOPT_LONG) $(FILEOFFSET_64BIT) - - INSTALL_PROGRAM = $(INSTALL) -c -m 0755 - INSTALL_DATA = $(INSTALL) -c -m 0644 diff --git a/srcpkgs/fdupes/template b/srcpkgs/fdupes/template index 7fe9d72cd3e..4ae736188e9 100644 --- a/srcpkgs/fdupes/template +++ b/srcpkgs/fdupes/template @@ -1,24 +1,21 @@ # Template file for 'fdupes' pkgname=fdupes -# version 1.51 is earlier than 1.6.x but is a higher version. -# so use "reverts" to make XBPS upgrade happens. -# More conventional numbering scheme since 1.6.0 -reverts="1.51_6" -version=1.6.1 +version=2.0.0 revision=1 -distfiles="https://github.com/adrianlopezroche/fdupes/archive/v$version.tar.gz" -checksum=9d6b6fdb0b8419815b4df3bdfd0aebc135b8276c90bbbe78ebe6af0b88ba49ea -maintainer="Steven R " -homepage="https://github.com/adrianlopezroche/fdupes" -license="MIT" +build_style=gnu-configure +hostmakedepends="autoconf automake" +makedepends="ncurses-devel pcre2-devel" short_desc="Identify or delete duplicate files within specified directories" +maintainer="Steven R " +license="MIT" +homepage="https://github.com/adrianlopezroche/fdupes" +distfiles="https://github.com/adrianlopezroche/fdupes/archive/${version}.tar.gz" +checksum=7d2bddee297b6780547ce7f4f6a9e045cae90b763f64cf971b558f0374ec8909 -do_build() { - make CC="$CC" +pre_configure() { + autoreconf --install } -do_install() { - vbin fdupes - vman fdupes.1 +post_install() { vlicense README }