diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 39 |
1 files changed, 15 insertions, 24 deletions
@@ -1,40 +1,31 @@ -# Maintainer: Zhengyu Xu <xzy3186@gmail.com> +# Maintainer: Vlad M. <vlad@archlinux.net> +# COntributor: Zhengyu Xu <xzy3186@gmail.com> pkgname=insync -pkgver=1.2.11 +pkgver=1.2.16 +_pkgver=35181 pkgrel=1 pkgdesc="An unofficial Google Drive client that runs on Linux, with support for various desktops" url="https://www.insynchq.com/downloads" license=('custom:insync') options=(!strip !upx) - depends=('xdg-utils' 'glibc' 'python2') optdepends=('insync-nautilus: file-manager integration for nautilus' -'insync-nemo: file-manager integration for nemo' -'insync-dolphin: file-manager integration for dolphin' -'insync-thunar: file-manager integration for thunar' -'insync-caja: file-manager integration for caja' -'sni-qt: To show the icon in Plasma 5 tray' -) - + 'insync-nemo: file-manager integration for nemo' + 'insync-dolphin: file-manager integration for dolphin' + 'insync-thunar: file-manager integration for thunar' + 'insync-caja: file-manager integration for caja' + 'sni-qt: To show the icon in Plasma 5 tray') arch=('i686' 'x86_64') -if [ "$CARCH" = 'i686' ]; then - source=("${pkgname}-${pkgver}.deb::http://s.insynchq.com/builds/${pkgname}_${pkgver}.35149-trusty_i386.deb") - sha256sums=('85f9899a5748a806ec6267ffa0f5003b600af873159308134ef4d48e7130f0a5') -elif [ "$CARCH" = "x86_64" ]; then - source=("${pkgname}-${pkgver}.deb::http://s.insynchq.com/builds/${pkgname}_${pkgver}.35149-trusty_amd64.deb") - sha256sums=('34244ac534ce0e508aa237ee2397b9617c6f80c3f4ac3bf68eaf452bfd58c8fe') -fi -noextract=("${pkgname}-${pkgver}.deb") - -source=("${source[@]}" - "insync.service") -sha256sums=("${sha256sums[@]}" - "995d9131bd454015ff11414d002b8927b7397835969e27061008264c0c5f225d") +source=('insync.service') +source_i686=("http://s.insynchq.com/builds/${pkgname}_${pkgver}.${_pkgver}-trusty_i386.deb") +source_x86_64=("http://s.insynchq.com/builds/${pkgname}_${pkgver}.${_pkgver}-trusty_amd64.deb") +sha256sums=('995d9131bd454015ff11414d002b8927b7397835969e27061008264c0c5f225d') +sha256sums_i686=('a98c318d2446aa8bd1939472386041d287559fd8dd79a3312c54dc591114a770') +sha256sums_x86_64=('339eb3611e074599da83ddc39bfbc80c955a04988037a0f5c9e50e6728b57db3') package() { cd $srcdir - ar x ${pkgname}-${pkgver}.deb tar xvf data.tar.gz cp -rp usr $pkgdir |