summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBhoppi Chaw2018-03-16 13:36:12 +0800
committerBhoppi Chaw2018-03-16 13:36:12 +0800
commit9f57e47a15221da781084426d19bac9a548bc98c (patch)
tree22d890d9714f29f4a5123737a4d007fb8ba77b5d
parent29ac3f354b26959ed6e2882d67526fad0e8fb19c (diff)
downloadaur-9f57e47a15221da781084426d19bac9a548bc98c.tar.gz
make python2-notify optdepends
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD15
2 files changed, 10 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8edde32e7fc0..20de64ddcc58 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,14 @@
-# Generated by mksrcinfo v8
-# Thu Mar 1 11:45:18 UTC 2018
pkgbase = nutstore-experimental
pkgdesc = Nutstore experimental version.
pkgver = 3.4.5
- pkgrel = 3
+ pkgrel = 4
url = https://jianguoyun.com/
arch = x86_64
license = custom
depends = gtk2
depends = java-runtime
- depends = python2-notify
optdepends = nautilus-nutstore: Nautilus plugin
+ optdepends = python2-notify: desktop notification
provides = nutstore
conflicts = nutstore
source = nutstore
diff --git a/PKGBUILD b/PKGBUILD
index a92a4fceeb10..fa2e5c6d301e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,16 @@
pkgname=nutstore-experimental
pkgver=3.4.5
-pkgrel=3
+pkgrel=4
pkgdesc='Nutstore experimental version.'
arch=(x86_64)
url='https://jianguoyun.com/'
license=(custom)
-depends=(gtk2 java-runtime python2-notify)
-optdepends=('nautilus-nutstore: Nautilus plugin')
+depends=(gtk2 java-runtime)
+optdepends=(
+ 'nautilus-nutstore: Nautilus plugin'
+ 'python2-notify: desktop notification'
+)
source=(nutstore license)
source_x86_64=("https://jianguoyun.com/static/exe/ex/$pkgver/nutstore_client-$pkgver-linux-x64-public.tar.gz")
sha256sums=('3091740b20ddd31ba4407b8daba1077c4677040cdc47bccfab2f7f3947676384'
@@ -17,8 +20,7 @@ sha256sums_x86_64=('fac9773875a5391a047f342414e988dd0df7f7938f14833f4b1352d3e4c6
conflicts=(nutstore)
provides=(nutstore)
-build()
-{
+build() {
cd $srcdir
sed -i '1s/python/python2/' bin/nutstore-pydaemon.py
cd gnome-config
@@ -26,8 +28,7 @@ build()
sed -i '/Exec=/s|~/\.nutstore/dist|/opt/nutstore|' autostart/nutstore-daemon.desktop
}
-package()
-{
+package() {
cd $srcdir
install -D -m755 nutstore $pkgdir/usr/bin/nutstore
install -D -m644 license $pkgdir/usr/share/licenses/nutstore/license