Commit 25fa24b1 authored by Hugo Hörnquist's avatar Hugo Hörnquist
Browse files

Changes.

parent 42939635
# https://www.debian.org/doc/vcs
# https://wiki.debian.org/PackagingWithGit
pkg=pass-otp
version=1.2.0
packaging_version=1
wget "https://github.com/tadfisher/$pkg/archive/v$version.tar.gz"
mv "v$version.tar.gz" "$pkg"_$version.orig.tar.gz
tar xf "$pkg"_$version.orig.tar.gz
pushd "$pkg-$version"
mkdir debian
dch --create -v "$version-$packaging_version" --package "$pkg"
......@@ -12,18 +12,25 @@ cat > debian/control << EOF
Source: $pkg
Maintainer: Hugo Hörnquist <hugo@lysator.liu.se>
Priority: standard
Standards-Version: 4.5.0
Standards-Version: 4.1.4
Build-Depends: debhelper (>= 10), expect, shellcheck
Homepage: https://github.com/tadfisher/$pkg
Vcs-Browser: https://github.com/tadfisher/$pkg
Vcs-Git: https://github.com/tadfisher/$pkg
Section: admin
Package: $pkg
Architecture: any
Depends: pass (>= 1.7.0), oathtool, qrencode
Description: A pass extension for managing one-time-password (OTP) tokens.
Depends: \${misc:Depends}, pass (>= 1.7.0), oathtool, qrencode
Description: Pass extension for managing one-time-password (OTP) tokens.
Section: admin
EOF
cat > debian/rules << EOF
#!/usr/bin/make -f
BASHCOMPDIR := /usr/share/bash-completion/completions/
%:
dh \$@
EOF
......@@ -34,6 +41,16 @@ cat > debian/source/format << EOF
3.0 (quilt)
EOF
cat > debian/copyright << EOF
Files: *
Copyright: 2017 Tad Fisher
License: GPL-3
Files: debian/*
Copyright: 2020 Hugo Hörnquist
License: GPL-3
EOF
# debuild -us -uc
debuild --unsigned-source --unsigned-changes
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment