Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Current PKGBUILD file for keebuntu
# Maintainer: Ho Tuan Kiet <tuankiet65@gmail.com>
# Contributor: Kristian Gunstone <kristian.gunstone except without these words AT pean.org>
# Contributor: Jameson Pugh <imntreal@gmail.com>
# Contributor: Jorge Araya Navarro <elcorreo@deshackra.com>
# Contributor: kaptoxic <kaptoxic _at_ yahoo _dot_ com >
# Contributor: Louis des Landes <aur@psykar.com>
# Contributor: dlech
# Contributor: Andreas Harter <aur@andreas-harter.de>
pkgname=keebuntu
pkgver=0.6.0
pkgrel=1
pkgdesc="App indicator icon for keepass (for unity, cinnamon & gnome)"
arch=('any')
url="https://github.com/dlech/Keebuntu"
license=('GPL2')
depends=('keepass' 'gtk-sharp-2' 'libappindicator-sharp' 'libappindicator-gtk2'
'libindicator-gtk2' 'dbus-sharp-glib')
source=("https://github.com/dlech/Keebuntu/archive/debian/${pkgver}.tar.gz")
install=$pkgname.install
sha256sums=('dbd8bfc40c176d987e9ec2e66e311c1851cd29f2d46c379c804380082d30608d')
_keepassdir=usr/share/keepass/plugins/appindicator
_icondir=icons/hicolor/256x256/apps
build() {
cd "${srcdir}/Keebuntu-debian-${pkgver}"
sed -i 's|/usr/lib/keepass2|/usr/share/keepass|' KeePassExe.proj
sed -i 's|libMagickWand-6.Q16.so|libMagickWand-6.Q16HDRI.so|' ImageMagick/ImageMagick.dll.config
xbuild /property:Configuration=Release ApplicationIndicator/AppIndicatorPlugin.csproj
}
package() {
cd "${srcdir}/Keebuntu-debian-${pkgver}"
# Copy stuff across manually
mkdir -p $pkgdir/$_keepassdir
mkdir -p $pkgdir/usr/share/$_icondir
cp ApplicationIndicator/bin/Release/* $pkgdir/$_keepassdir
cp ApplicationIndicator/Resources/$_icondir/* $pkgdir/usr/share/$_icondir/
rm $pkgdir/$_keepassdir/KeePass.*
}
# vim:set ts=2 sw=2 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment