From 1669ffd348b627b52b456d01b929d66cdc493d15 Mon Sep 17 00:00:00 2001 From: Jay Larson Date: Thu, 11 Jan 2018 10:54:27 -0600 Subject: [PATCH] Updated to new version scheme --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8be7bbf..a969200 100644 --- a/Makefile +++ b/Makefile @@ -11,15 +11,17 @@ DEPENDS = glibc ARCH = x86_64 URL = http://mama.indstate.edu/users/ice/tree/ +REPO = main +BRIEF = Recursive directory listing DESC = Tree is a recursive directory listing command that produces a depth \ indented listing of files -SNAPVER = sr0 +SNAPVER = 1 ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1) TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n') SRCDIR := $(shell tar -tf $(ARCHIVE)|head -1|sed 's/\/.*//') PATCHDIR := $(PWD)/SRC/patches -VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'|sed 's/^-//')$(SNAPVER) +VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'|sed 's/^-//')-$(SNAPVER) include /usr/share/snap/Makefile.snaplinux