summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornemesys2020-07-25 05:24:47 -0400
committernemesys2020-07-25 05:24:47 -0400
commit3aa4e3a3a95cb48bedef827f865a6112954b190b (patch)
tree5a0a0c6b53f6e2a7e7aea34d0d526c190590d22f
parentcf4684fc929a30e1325dffe678d1971ff958a297 (diff)
downloadaur-3aa4e3a3a95cb48bedef827f865a6112954b190b.tar.gz
update application to .4 version
-rw-r--r--.SRCINFO14
-rwxr-xr-xPKGBUILD33
2 files changed, 21 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c363083d4e3..78ffeb51b3d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Fri Jun 24 05:30:01 UTC 2016
pkgbase = sunflower-git
pkgdesc = Small and highly customizable twin-panel file manager for Linux with support for plugins
- pkgver = 0.3
+ pkgver = 0
pkgrel = 1
url = https://github.com/MeanEYE/Sunflower
arch = any
@@ -10,19 +8,17 @@ pkgbase = sunflower-git
makedepends = git
depends = desktop-file-utils
depends = pygtk
- depends = python2-chardet
+ depends = python-chardet
+ depends = python-cairo-git
depends = librsvg
- optdepends = python2-gnomekeyring: password storage for remote mounts
- optdepends = python2-notify: desktop notifications service
optdepends = vte: integrated vte-based terminal
optdepends = mutagen: audio-metadata support
optdepends = gvfs: mount-management
- optdepends = python2-dbus: single application instance support
conflicts = sunflower
+ options = !strip
+ options = !zipman
source = git://github.com/MeanEYE/Sunflower.git
- source = sunflower.desktop
md5sums = SKIP
- md5sums = 9cfbe8c2075b39b9d62242ef48598105
pkgname = sunflower-git
diff --git a/PKGBUILD b/PKGBUILD
index 1ebdb8f0a32..e15a2bc80ef 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,34 +1,33 @@
pkgname=sunflower-git
_gitname=Sunflower
-pkgver=0.3
+pkgver=0
pkgrel=1
pkgdesc="Small and highly customizable twin-panel file manager for Linux with support for plugins"
arch=('any')
url="https://github.com/MeanEYE/Sunflower"
+options=(!strip !zipman)
license=('GPL3')
-depends=('desktop-file-utils' 'pygtk' 'python2-chardet' 'librsvg')
+depends=('desktop-file-utils' 'pygtk' 'python-chardet' 'python-cairo-git' 'librsvg')
makedepends=('git')
-optdepends=('python2-gnomekeyring: password storage for remote mounts'
-'python2-notify: desktop notifications service'
-'vte: integrated vte-based terminal'
+optdepends=('vte: integrated vte-based terminal'
'mutagen: audio-metadata support'
-'gvfs: mount-management'
-'python2-dbus: single application instance support')
+'gvfs: mount-management')
conflicts=('sunflower')
-source=('git://github.com/MeanEYE/Sunflower.git'
-'sunflower.desktop')
-md5sums=('SKIP'
- '9cfbe8c2075b39b9d62242ef48598105')
+source=('git://github.com/MeanEYE/Sunflower.git')
+md5sums=('SKIP')
pkgver() {
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/
+ cd "Sunflower"
+ python setup.py install --root="$pkgdir/" --optimize=1
+ install -Dm644 images/sunflower.png "${pkgdir}/usr/share/pixmaps/sunflower.png"
+ rm "${pkgdir}/usr/share/sunflower/images/sunflower.png"
+ rm -rd "${pkgdir}/usr/share/sunflower/trasnaltions"
+ #install -d "${pkgdir}/usr/share/locale"
+ cp -r "${srcdir}/Sunflower/translations/" "${pkgdir}/usr/share/locale"
+ rm -f ${pkgdir}/usr/share/locale/*/LC_MESSAGES/*.po
+ rm -f ${pkgdir}/usr/share/locale/*.pot
}