[numix-icon-theme] 02/04: Add debian/watch
Jeremy Bicha
jbicha at moszumanska.debian.org
Sun Nov 19 12:58:21 UTC 2017
This is an automated email from the git hooks/post-receive script.
jbicha pushed a commit to branch master
in repository numix-icon-theme.
commit 024228cfef86840b479c0dcabd19cb6cf32bb1f0
Author: Jeremy Bicha <jbicha at debian.org>
Date: Sun Nov 19 07:44:32 2017 -0500
Add debian/watch
---
debian/rules | 5 +++--
debian/watch | 7 +++++++
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index 6c6dff7..4701745 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,16 +3,17 @@
%:
dh $@
+# The following is to package git snapshots
+# Disabled since we're currently using actual git tagged releases now
PKD := $(abspath $(dir $(MAKEFILE_LIST)))
VER := $(shell dpkg-parsechangelog -l$(PKD)/changelog -SVersion | cut -d- -f1)
PKG := numix-icon-theme
UURL := https://github.com/numixproject/numix-icon-theme.git
COMMIT := 45878a1195abd997341c91d51381625644f9a356
-.PHONY: get-orig-source
## http://wiki.debian.org/onlyjob/get-orig-source
## https://anonscm.debian.org/cgit/pkg-games/pangzero.git/commit/debian/rules?id=eeaefee
-get-orig-source get-packaged-orig-source:
+disabled-get-orig-source disabled-get-packaged-orig-source:
@echo "# Cloning upstream git repository..."
git clone $(UURL) $(PKG)-$(VER) \
|| $(RM) -r $(PKG)-$(VER)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..87367d5
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,7 @@
+version=4
+# Don't use hyphens since those have special meaning in Debian.
+# Might as well add the 20 prefix for the year since it makes sense
+# and matches our previous version numbering
+opts=uversionmangle=s/^(\d{2})-(\d{2})-(\d{2}).*/0~20$1$2$3/ \
+https://github.com/numixproject/numix-icon-theme/releases \
+ .*/archive/([0-9][0-9\.-]*)@ARCHIVE_EXT@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/numix-icon-theme.git
More information about the pkg-mate-commits
mailing list