Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : keepass | name : keepass | ||||
| version : 2.39.1 | version : 2.39.1 | ||||
| release : 25 | release : 26 | ||||
| source : | source : | ||||
| - https://netcologne.dl.sourceforge.net/project/keepass/KeePass%202.x/2.39.1/KeePass-2.39.1-Source.zip : 00a8a97ec5fa18db558a9be131435fd2cebce2327c89616cee47e2fe7fe2c978 | - https://netcologne.dl.sourceforge.net/project/keepass/KeePass%202.x/2.39.1/KeePass-2.39.1-Source.zip : 00a8a97ec5fa18db558a9be131435fd2cebce2327c89616cee47e2fe7fe2c978 | ||||
| license : GPL-2.0 | license : GPL-2.0-or-later | ||||
| component : security | component : security | ||||
| summary : KeePass Password Safe is a free, open source, lightweight, and easy-to-use password manager. | summary : KeePass Password Safe is a free, open source, lightweight, and easy-to-use password manager | ||||
| description: | | description: | | ||||
| KeePass Password Safe is a free, open source, lightweight, and easy-to-use password manager. | KeePass Password Safe is a free, open source, lightweight, and easy-to-use password manager. | ||||
| extract : no | extract : no | ||||
| builddeps : | builddeps : | ||||
| - pkgconfig(gtk-sharp-2.0) | - pkgconfig(gtk-sharp-2.0) | ||||
| - pkgconfig(mono) | - pkgconfig(mono) | ||||
| - pkgconfig(mono-addins) | |||||
| - libgdiplus-devel | - libgdiplus-devel | ||||
| - unzip | |||||
| rundeps : | rundeps : | ||||
| - libgdiplus | - libgdiplus | ||||
| - mono | |||||
| - mono-devel | - mono-devel | ||||
| - mono-addins | |||||
| - xdotool | - xdotool | ||||
| - xsel | - xsel | ||||
| setup : | | setup : | | ||||
| unzip $sources/KeePass-${version}-Source.zip | unzip $sources/KeePass-${version}-Source.zip | ||||
| # "Convert" to mono 4.0 | # "Convert" to mono 4.0 | ||||
| sed -i '1s/ 10.00/ 11.00/' KeePass.sln | sed -i '1s/ 10.00/ 11.00/' KeePass.sln | ||||
| find . -name "*.csproj" -exec sed -i '1s/"3.5"/"4.0"/' {} + | find . -name "*.csproj" -exec sed -i '1s/"3.5"/"4.0"/' {} + | ||||
| build : | | build : | | ||||
| cd ../Build/ | cd ../Build/ | ||||
| chmod +x PrepMonoDev.sh | chmod +x PrepMonoDev.sh | ||||
| ./PrepMonoDev.sh | ./PrepMonoDev.sh | ||||
| cd ../ | cd ../ | ||||
| xbuild /target:KeePass /property:Configuration=Release | xbuild /target:KeePass /property:Configuration=Release | ||||
| cp Ext/KeePass.exe.config Build/KeePass/Release | cp Ext/KeePass.exe.config Build/KeePass/Release | ||||
| install : | | install : | | ||||
| cd $workdir/../ | cd $workdir/../ | ||||
| install -dm755 $installdir/usr/bin | install -dm00755 $installdir/usr/bin | ||||
| install -dm755 $installdir/usr/share/keepass/XSL | install -dm00755 $installdir/usr/share/keepass/XSL | ||||
| install -Dm755 Build/KeePass/Release/KeePass.exe $installdir/usr/share/keepass/KeePass.exe | install -Dm00755 Build/KeePass/Release/KeePass.exe $installdir/usr/share/keepass/KeePass.exe | ||||
| install -Dm755 Ext/KeePass.config.xml $installdir/usr/share/keepass/KeePass.config.xml | install -Dm00755 Ext/KeePass.config.xml $installdir/usr/share/keepass/KeePass.config.xml | ||||
| install -Dm755 Ext/KeePass.exe.config $installdir/usr/share/keepass/KeePass.exe.config | install -Dm00755 Ext/KeePass.exe.config $installdir/usr/share/keepass/KeePass.exe.config | ||||
| install -m644 Ext/XSL/* $installdir/usr/share/keepass/XSL | install -m00644 Ext/XSL/* $installdir/usr/share/keepass/XSL | ||||
| install -Dm644 $pkgfiles/keepass.png $installdir/usr/share/pixmaps/keepass.png | install -Dm00644 $pkgfiles/keepass.png $installdir/usr/share/pixmaps/keepass.png | ||||
| # KeePass Desktop File and Exec Adding | # KeePass Desktop File and Exec Adding | ||||
| echo '#!/bin/sh | echo '#!/bin/sh | ||||
| exec mono /usr/share/keepass/KeePass.exe "$@"' >> $installdir/usr/bin/keepass | exec mono /usr/share/keepass/KeePass.exe "$@"' >> $installdir/usr/bin/keepass | ||||
| chmod +x $installdir/usr/bin/keepass | chmod +x $installdir/usr/bin/keepass | ||||
| install -Dm644 $pkgfiles/keepass.desktop $installdir/usr/share/applications/keepass.desktop | install -Dm00644 $pkgfiles/keepass.desktop $installdir/usr/share/applications/keepass.desktop | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.