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

Initial commit.

parents
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"
echo 10 > debian/compat
cat > debian/control << EOF
Source: $pkg
Maintainer: Hugo Hörnquist <hugo@lysator.liu.se>
Priority: standard
Standards-Version: 4.5.0
Build-Depends: debhelper (>= 10), expect, shellcheck
Homepage: https://github.com/tadfisher/$pkg
Package: $pkg
Architecture: any
Depends: pass (>= 1.7.0), oathtool, qrencode
Description: A pass extension for managing one-time-password (OTP) tokens.
EOF
cat > debian/rules << EOF
#!/usr/bin/make -f
%:
dh \$@
EOF
mkdir debian/source
cat > debian/source/format << EOF
3.0 (quilt)
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