fdupes: update to 2.0.0

This commit is contained in:
teldra 2020-02-05 22:09:20 +01:00 committed by Juan RP
parent 85566bedd3
commit 0a127f434d
2 changed files with 12 additions and 29 deletions

View File

@ -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

View File

@ -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 <dev@styez.com>"
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 <dev@styez.com>"
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
}