Created
July 4, 2016 21:02
-
-
Save gammy/0614451fe5f04254d61377813339f475 to your computer and use it in GitHub Desktop.
Current PKGBUILD file for keebuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Ho Tuan Kiet <[email protected]> | |
# Contributor: Kristian Gunstone <kristian.gunstone except without these words AT pean.org> | |
# Contributor: Jameson Pugh <[email protected]> | |
# Contributor: Jorge Araya Navarro <[email protected]> | |
# Contributor: kaptoxic <kaptoxic _at_ yahoo _dot_ com > | |
# Contributor: Louis des Landes <[email protected]> | |
# Contributor: dlech | |
# Contributor: Andreas Harter <[email protected]> | |
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/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
Please see https://gist.github.com/trilader/740f3c8545c6c39fd4711347e3f8f541 instead