|
@@ -1,37 +1,25 @@
|
|
|
# Maintainer: Sunguk Lee <d3m3vilurr@gmail.com>
|
|
|
|
|
|
pkgname=insync-headless
|
|
|
-pkgver=1.3.22
|
|
|
-_pkgver=36179
|
|
|
-_dist=zesty
|
|
|
+pkgver=3.0.0.10585
|
|
|
+_dist=buster
|
|
|
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=('glibc' 'python2')
|
|
|
-arch=('i686' 'x86_64')
|
|
|
-source=('insync-headless@.service' 'insync-headless.service')
|
|
|
-sha256sums=('8406882d9e206112fb80f278baadb765a10d40889516aa40860e5c9990148518'
|
|
|
+options=(!strip)
|
|
|
+optdepends=()
|
|
|
+arch=('x86_64')
|
|
|
+source=("http://s.insynchq.com/builds/${pkgname}_${pkgver}-${_dist}_amd64.deb"
|
|
|
+ 'insync-headless@.service'
|
|
|
+ 'insync-headless.service')
|
|
|
+sha256sums=('a9e19b6f639c21fcec6c9060a090bf12588d95afaa00da3f5d109060522f3c55'
|
|
|
+ '8406882d9e206112fb80f278baadb765a10d40889516aa40860e5c9990148518'
|
|
|
'eca7a9d837d5abef687bf64f314ace41fdf963a35e914f5e88bdb50f4c99d282')
|
|
|
-sha256sums_i686=('65edf9bebc31c384359b700e0bb2abf6c2aab863d16618a13e3aa956579e08f7')
|
|
|
-sha256sums_x86_64=('b1137a7645018da97ea909f44a5eb8fe4f82cd2f9248aacd2d6f775d59bdc769')
|
|
|
-source_i686=("http://s.insynchq.com/builds/${pkgname}_${pkgver}.${_pkgver}-${_dist}_i386.deb")
|
|
|
-source_x86_64=("http://s.insynchq.com/builds/${pkgname}_${pkgver}.${_pkgver}-${_dist}_amd64.deb")
|
|
|
package() {
|
|
|
tar xvf data.tar.gz
|
|
|
cp -rp usr ${pkgdir}/
|
|
|
|
|
|
- # Patch files for Arch
|
|
|
- echo "==> Patching files..."
|
|
|
- cd ${pkgdir}
|
|
|
- grep -R "/usr/bin/python" ./usr | cut -d':' -f1 | cut -d' ' -f1 | \
|
|
|
- while read -r file; do
|
|
|
- echo "Patch: $file"
|
|
|
- [ -f "$file" ] && sed -i "s|usr/bin/python$|usr/bin/python2|g" "$file" || :
|
|
|
- done
|
|
|
- # End of patching
|
|
|
-
|
|
|
install -Dm644 ${srcdir}/insync-headless@.service ${pkgdir}/usr/lib/systemd/system/insync-headless@.service
|
|
|
install -Dm644 ${srcdir}/insync-headless.service ${pkgdir}/usr/lib/systemd/system/insync-headless.service
|
|
|
}
|