nutstore-experimental: auto updated to 6.3.0-1
This commit is contained in:
parent
7cb2ce62de
commit
21ea3198fc
42
repo/nutstore-experimental/PKGBUILD
Normal file
42
repo/nutstore-experimental/PKGBUILD
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
#Maintainer: Bhoppi Chaw <bhoppi#outlook,com>
|
||||||
|
|
||||||
|
pkgname=nutstore-experimental
|
||||||
|
pkgver=6.3.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='Nutstore experimental version.'
|
||||||
|
arch=(x86_64)
|
||||||
|
url='https://www.jianguoyun.com/'
|
||||||
|
license=(custom)
|
||||||
|
depends=(
|
||||||
|
libappindicator-gtk3
|
||||||
|
libnotify
|
||||||
|
python-gobject
|
||||||
|
webkit2gtk
|
||||||
|
)
|
||||||
|
optdepends=('nautilus-nutstore: Nautilus plugin')
|
||||||
|
provides=(nutstore)
|
||||||
|
conflicts=(nutstore)
|
||||||
|
source=(nutstore license)
|
||||||
|
source_x86_64=("https://pkg-cdn.jianguoyun.com/static/exe/ex/$pkgver/nutstore_client-$pkgver-linux-x86_64-public.tar.gz")
|
||||||
|
sha256sums=('a4aa358d45b306cbeac449f2256f00a5b81a95197394eba7efa96eaae820cf5b'
|
||||||
|
'd320e071403cdad44881beb880f5ccfa8ec0a625718a9f572dce0cc9fff81ade')
|
||||||
|
sha256sums_x86_64=('38a2a6a80577c12c5168615f23cfe5a9ed3442e4dd18e8fe6651bf806bc1d758')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $srcdir/gnome-config
|
||||||
|
sed -i '/Exec=/s|~/\.nutstore/dist/bin/nutstore-pydaemon.py|/usr/bin/nutstore|' menu/nutstore-menu.desktop
|
||||||
|
sed -i '/Exec=/s|~/\.nutstore/dist|/opt/nutstore|' autostart/nutstore-daemon.desktop
|
||||||
|
cd $srcdir/bin
|
||||||
|
sed -i '/gvfs-set-attribute/s|gvfs-set-attribute|gio set|' nutstore-pydaemon.py
|
||||||
|
python -m compileall .
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $srcdir
|
||||||
|
install -D -m755 nutstore $pkgdir/usr/bin/nutstore
|
||||||
|
install -D -m644 license $pkgdir/usr/share/licenses/nutstore/license
|
||||||
|
rm nutstore license *.tar.gz
|
||||||
|
mkdir -p $pkgdir/opt/nutstore && cp -aR ./ $pkgdir/opt/nutstore
|
||||||
|
install -D -m644 gnome-config/menu/nutstore-menu.desktop $pkgdir/usr/share/applications/nutstore.desktop
|
||||||
|
install -D -m644 app-icon/nutstore.png $pkgdir/usr/share/icons/hicolor/512x512/apps/nutstore.png
|
||||||
|
}
|
2
repo/nutstore-experimental/license
Normal file
2
repo/nutstore-experimental/license
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
license please refer to:
|
||||||
|
https://help.jianguoyun.com/?page_id=632
|
4
repo/nutstore-experimental/nutstore
Executable file
4
repo/nutstore-experimental/nutstore
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
STARTPATH='gnome-config/autostart/nutstore-daemon.desktop'
|
||||||
|
install -CD /opt/nutstore/$STARTPATH ~/.nutstore/dist/$STARTPATH
|
||||||
|
exec /opt/nutstore/bin/nutstore-pydaemon.py
|
Loading…
Reference in a new issue