# -*- coding: ascii; tab-width: 4 -*-
Package: txt2regex
Version: 0.9
Revision: 1
Description: Regular expression wizard
DescDetail: <<
	Txt2regex is a Regular Expression Wizard that converts human sentences
	to regexes. In a simple interactive console interface, the user answer
	questions and the program build the regexes for more than 20 programs,
	like Vim, Emacs, Perl, PHP, Python, Procmail and OpenOffice.org. It is
	a Shell Script 100% written with Bash builtin commands.
<<
DescPort: <<
	I'm not sure if the language translations actually work, but I've
	installed them anyhow.
<<
Source: https://github.com/aureliojargas/txt2regex/archive/refs/tags/v%v.tar.gz
SourceRename: %n-%v.tar.gz
Source-Checksum: SHA256(3bbccde25f942129450f34d6d4975f4234958072540e758bc131bb7960716d63)
BuildDepends: gettext-tools
CompileScript: echo 'Nothing to compile.'
InfoTest: <<
	# Download a specific commit of the testing script for reproducibility
	TestSource: https://raw.githubusercontent.com/aureliojargas/clitest/cfed1de2aa3512b7a851c6af1217843418dfab8b/clitest
	TestSourceRename: clitest-cfed1de.sh
	TestSource-Checksum: SHA256(76f7935cb3039d506e7f475cd59290946a3ca694f0bf3f5c9a5093fcb1f77b7f)
	TestScript: cp %b/../clitest-cfed1de.sh %b/clitest.sh; make test || exit 2
<<
InstallScript: <<
	make install BINDIR=%i/bin LOCALEDIR=%i/share/locale
	install -d %i/share/man/man1
	install -m 644 man/txt2regex.man %i/share/man/man1/txt2regex.1
<<
DocFiles: CHANGELOG.md COPYRIGHT README.md TODO
License: GPL2
Maintainer: Daniel Johnson <daniel@daniel-johnson.org>
Homepage: https://aurelio.net/projects/txt2regex/