diff options
author | Bhoppi Chaw | 2018-03-16 13:36:12 +0800 |
---|---|---|
committer | Bhoppi Chaw | 2018-03-16 13:36:12 +0800 |
commit | 9f57e47a15221da781084426d19bac9a548bc98c (patch) | |
tree | 22d890d9714f29f4a5123737a4d007fb8ba77b5d | |
parent | 29ac3f354b26959ed6e2882d67526fad0e8fb19c (diff) | |
download | aur-9f57e47a15221da781084426d19bac9a548bc98c.tar.gz |
make python2-notify optdepends
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 10 insertions, 11 deletions
@@ -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 @@ -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 |