Guest User

Untitled

a guest
Jul 11th, 2021
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. # shellcheck shell=bash
  2. # shellcheck disable=SC2034,SC2148,SC2154
  3. # Maintainer: Zeke Sonxx <[email protected]>
  4.  
  5. pkgname=keepass2-plugin-tray-icon
  6. pkgver=0.8.2
  7. pkgrel=1
  8. arch=('i686' 'x86_64')
  9. pkgdesc="Functional tray icon for KeePass2"
  10. license=('GPL2')
  11. depends=('keepass' 'dbus-sharp-glib' 'gtk-sharp-2')
  12. makedepends=('git')
  13. url="https://github.com/dlech/Keebuntu"
  14. source=("repo::git+https://github.com/dlech/Keebuntu.git#tag=debian/${pkgver}")
  15. md5sums=('SKIP')
  16. sha512sums=('SKIP')
  17.  
  18. build() {
  19. cd "$srcdir/repo" || exit
  20. sed -i 's|/usr/lib/keepass2|/usr/share/keepass|' KeePassExe.proj
  21. sed -i 's|libMagickWand-6.Q16.so|libMagickWand-6.Q16HDRI.so|' ImageMagick/ImageMagick.dll.config
  22. xbuild /property:Configuration=Release DBus/DBus.csproj
  23. xbuild /property:Configuration=Release GtkStatusIcon/GtkStatusIconPlugin.csproj
  24. }
  25.  
  26. package() {
  27. mkdir -p "${pkgdir}/usr/share/keepass/plugins"
  28. install -m644 "${srcdir}/repo/DBus/bin/Release/DBus.dll" "${pkgdir}/usr/share/keepass/plugins/"
  29. install -m644 "${srcdir}/repo/GtkStatusIcon/bin/Release/GtkStatusIcon.dll" "${pkgdir}/usr/share/keepass/plugins/"
  30. cp -r "${srcdir}/repo/GtkStatusIcon/Resources/icons/" "$pkgdir/usr/share/"
  31. }
  32.  
Advertisement
Add Comment
Please, Sign In to add comment