# Maintainer : jaltek # Maintainer : Matthieu Froment # Contributor : Xunhua Guo # Contributor : Robert Orzanna # Contributor : Cassfalg pkgname=teamdrive pkgver=5.1.1.3576 pkgrel=1 pkgdesc="Keeps data synchronised between various computers automatically." arch=('x86_64') url="http://www.teamdrive.com/" license=('CUSTOM') #depends=('') source=(teamdrive.desktop) dir=$(echo $pkgver|cut -d. -f1,2,4) #source_x86_64=("https://download.teamdrive.net/${dir}/TMDR/linux-x86_64/Install-TeamDrive-${pkgver}_TMDR.run") source_x86_64=("https://download.teamdrive.net/${pkgver}/TMDR/linux-x86_64/Install-TeamDrive-${pkgver}_TMDR.run") sha256sums=('b81c4e2573b8478ce69a0ba66f5a493ecd73dbb8a94fe92fa33b1f5f14b8fb2c') sha256sums_x86_64=('6b5702c9f28c4546fb1b0e6c9d3b7cfd78c61952d35c95a7a6445758c4f8b127') options=(!strip) build() { cd ${srcdir} chmod +x Install-TeamDrive-${pkgver}_TMDR.run } package() { ./Install-TeamDrive-${pkgver}_TMDR.run --mode unattended --prefix ${pkgdir}/opt/${pkgname} install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" rm -f "${pkgdir}/opt/${pkgname}/Uninstall TeamDrive.desktop" rm -f "${pkgdir}/opt/${pkgname}/uninstall" }