Files
KeePass2-packaging/build.sh
AR2000 b54fb821f8
All checks were successful
Build deb / build (push) Successful in 11s
2.59
2025-07-11 18:32:03 +02:00

32 lines
1.3 KiB
Bash
Executable File

VERSION=2.59
mkdir -p KeePass
unzip KeePass-$VERSION.zip -d KeePass
cd KeePass
mkdir -p usr/bin usr/lib/keepass2 usr/share DEBIAN usr/share/keepass2
mv Plugins KeePass* License.txt ShInstUtil.exe Languages usr/lib/keepass2
mv XSL usr/share/keepass2/
cd ..
cp -r src/usr KeePass/
echo "Package: keepass2
Version: $VERSION
Architecture: all
Maintainer: AR2000
Depends: mono-runtime, libgcrypt20, libmono-corlib4.5-cil, libmono-system-drawing4.0-cil, libmono-system-security4.0-cil, libmono-system-windows-forms4.0-cil, libmono-system-xml4.0-cil, libmono-system4.0-cil, libx11-6
Recommends: xsel
Suggests: keepass2-doc, mono-dmcs, xdotool
Section: utils
Priority: optional
Homepage: http://keepass.info/
Description: Password manager
KeePass is a easy-to-use password manager for Windows, Linux, Mac OS X and
mobile devices. You can store your passwords in highly-encrypted databases,
which can only be unlocked with one master password and/or a key file.
A database consists of only one file that can be transferred from one computer
to another easily.
KeePass can import data from various file formats. The password list can be
exported to various formats, including TXT, HTML, XML and CSV files." > KeePass/DEBIAN/control
dpkg-deb -b KeePass Keepass2_$VERSION.deb
rm -r KeePass