SHARE
TWEET

cernbox PKGBUILD for Archlinux

a guest Jan 14th, 2020 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Johannes Lange (<firstname>DOT<lastname>ATcern.ch>)
  2. pkgname=cernbox
  3. pkgver=2.5.4.201906281229_2625.1
  4. pkgrel=1
  5. pkgdesc="Synchronization client for CERN's CERNBox cloud service (based on ownCloud). Note: CERN IT does not provide official support for Arch Linux. Use at your own risk."
  6. arch=('x86_64')
  7. url="http://cernbox.web.cern.ch/"
  8. license=('GPL')
  9. depends=('neon' 'qt5-webkit' 'qtkeychain')
  10. optdepends=('cernbox-nemo: Nemo integration')
  11. provides=('ocsync' 'cernboxsync')
  12.  
  13. _repo='https://cernbox.cern.ch/cernbox/doc/Linux/repo/Fedora_30/x86_64/'
  14. source=(
  15.     ${_repo}cernbox-client-${pkgver/_/-}.x86_64.rpm
  16.     ${_repo}libcernboxsync0-${pkgver/_/-}.x86_64.rpm
  17. )
  18. md5sums=(
  19.     '2e13cd072680e5235e5b9695087851dd'
  20.     '70447c3b50ea491b2ad1e3b3bc7c1ae7'
  21. )
  22.  
  23. package() {
  24.     mkdir -p "${pkgdir}/usr"
  25.     cp -dpr "${srcdir}/usr/share" "${pkgdir}/usr/"
  26.     cp -r "${srcdir}/opt/ownCloud/cernbox/bin" "${pkgdir}/usr/"
  27.     cp -r "${srcdir}/opt/ownCloud/cernbox/lib64" "${pkgdir}/usr/lib"
  28.     mkdir -p "${pkgdir}/usr/share/pixmaps"
  29.     cp "${pkgdir}/usr/share/icons/hicolor/128x128/apps/cernbox.png" "${pkgdir}/usr/share/pixmaps"
  30.  
  31.     cp -dpr "${srcdir}/etc" "${pkgdir}"
  32. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top