Guest User

Keebuntu PKGBUILD revised

a guest
Sep 14th, 2015
140
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Jameson Pugh <imntreal@gmail.com>
  2. # Contributor: Jorge Araya Navarro <elcorreo@deshackra.com>
  3. # Contributor: kaptoxic <kaptoxic _at_ yahoo _dot_ com >
  4. # Contributor: Louis des Landes <aur@psykar.com>
  5. # Contributor: dlech
  6. # Contributor: Andreas Harter <aur@andreas-harter.de>
  7.  
  8. pkgname=keebuntu
  9. pkgver=0.5.8
  10. pkgrel=1
  11. pkgdesc="App indicator icon for keepass (for unity, cinnamon & gnome)"
  12. arch=(any)
  13. url="https://github.com/dlech/Keebuntu"
  14. license=('GPL2')
  15. depends=('keepass' 'libappindicator-sharp' 'libappindicator-gtk2' 'gtk-sharp-2' 'dbus-sharp-glib')
  16. makedepends=('git')
  17. source=("https://github.com/dlech/Keebuntu/archive/v$pkgver.zip")
  18. md5sums=('4a462181488c7df6fbd8bd0464fd34b1')
  19. install=$pkgname.install
  20.  
  21. _keepassdir=usr/share/keepass/appindicator
  22. _icondir=icons/hicolor/256x256/apps
  23.  
  24. build() {
  25.   cd "${srcdir}/Keebuntu-${pkgver}"
  26.   sed -i 's|/usr/lib/keepass2|/usr/share/keepass|' KeePassExe.proj
  27.   sed -i 's|libMagickWand-6.Q16.so|libMagickWand-6.Q16HDRI.so|' ImageMagick/ImageMagick.dll.config
  28.   xbuild /property:Configuration=Release ApplicationIndicator/AppIndicatorPlugin.csproj
  29. }
  30.  
  31. package() {
  32.   cd "${srcdir}/Keebuntu-${pkgver}"
  33.   # Copy stuff across manually
  34.   mkdir -p $pkgdir/$_keepassdir
  35.   mkdir -p $pkgdir/usr/share/$_icondir
  36.   cp ApplicationIndicator/bin/Release/* $pkgdir/$_keepassdir
  37.   cp ApplicationIndicator/Resources/$_icondir/* $pkgdir/usr/share/$_icondir/
  38.   rm $pkgdir/$_keepassdir/KeePass.*
  39. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×