summaryrefslogtreecommitdiff
path: root/package/debian/watch
blob: bf42035d5e88c5aec62cf54910da0bb05ec6b263 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
version=4

# upstream provides tarballs such as "byacc-20220101.tgz" (originally to
# keep the filenames compatible with systems where multiple "." are illegal).
#
# The version number (2.0) is current since late 2020; before that it was
# "1.9" for a long time.  Use
#    byacc -V
# to see the version number:
#    byacc - 2.0 20220101
#
# The introduction of the back-tracking configuration motivated the change of
# major/minor numbers; for compatibility the parser skeleton still says "1.9".
#
# Patch-dates are always # in yyyymmdd format. 

opts=pgpsigurlmangle=s/.*/$0.asc/,\
dversionmangle=s/^\d\.\d\.(\d+)/$1/,\
filenamemangle=s/^.*\/(byacc)-(\d+)\.tgz/$1_2.0.$2.orig.tar.gz/ \
 https://invisible-mirror.net/archives/byacc/byacc-(\d+)\.tgz

#opts=pgpsigurlmangle=s/.*/$0.asc/
# https://invisible-mirror.net/archives/byacc/byacc-(\d+)\.tgz