summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornemaeon2015-07-20 16:38:48 -0400
committernemaeon2015-07-20 16:38:48 -0400
commitcea5fcef9b1e33530158ac79aef3ed7d1fcbfade (patch)
tree634a1088268ec5554da7ff178f3333dcfacc0c82
parent4ef9c9854d5cfe614343d765d6654bb7db7caa90 (diff)
downloadaur-cea5fcef9b1e33530158ac79aef3ed7d1fcbfade.tar.gz
Add python2-chardet as dependency. Add optional dependencies.
-rwxr-xr-xPKGBUILD29
1 files changed, 17 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d1403d98bf5..9e95d082244 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,24 +6,29 @@ pkgdesc="Small and highly customizable twin-panel file manager for Linux with su
arch=('any')
url="https://github.com/MeanEYE/Sunflower"
license=('GPL3')
-depends=('pygtk' 'librsvg' 'python2-chardet')
+depends=('desktop-file-utils' 'pygtk' 'python2-chardet' 'librsvg')
makedepends=('git')
-optdepends=('python2-notify' 'vte')
+optdepends=('python2-gnomekeyring: password storage for remote mounts'
+'python2-notify: desktop notifications service'
+'vte: integrated vte-based terminal'
+'mutagen: audio-metadata support'
+'gvfs: mount-management'
+'python2-dbus: single application instance support')
conflicts=('sunflower')
source=('git://github.com/MeanEYE/Sunflower.git'
- 'sunflower.desktop')
+'sunflower.desktop')
md5sums=('SKIP'
- '9cfbe8c2075b39b9d62242ef48598105')
+'9cfbe8c2075b39b9d62242ef48598105')
pkgver() {
-cd "${srcdir}/${_gitname}"
-git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
+ cd "${srcdir}/${_gitname}"
+ git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}
package() {
- mkdir -p $pkgdir/{opt,usr/bin}
- cp -a $srcdir/Sunflower $pkgdir/opt/sunflower
- echo -e '#!/bin/sh\npython2 /opt/sunflower/Sunflower.py "$@"' > $pkgdir/usr/bin/sunflower
- chmod +x $pkgdir/usr/bin/sunflower
- mkdir -p $pkgdir/usr/share/applications
- cp sunflower.desktop $pkgdir/usr/share/applications/
+ mkdir -p $pkgdir/{opt,usr/bin}
+ cp -a $srcdir/Sunflower $pkgdir/opt/sunflower
+ echo -e '#!/bin/sh\npython2 /opt/sunflower/Sunflower.py "$@"' > $pkgdir/usr/bin/sunflower
+ chmod +x $pkgdir/usr/bin/sunflower
+ mkdir -p $pkgdir/usr/share/applications
+ cp sunflower.desktop $pkgdir/usr/share/applications/
}