SHARE
TWEET

Untitled

a guest Aug 1st, 2019 340 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Martins Mozeiko <martins.mozeiko@gmail.com>
  2.  
  3. pkgname=rclone-browser
  4. pkgver=1.2
  5. pkgrel=1
  6. pkgdesc='Simple cross-platform GUI for rclone'
  7. url='https://mmozeiko.github.io/RcloneBrowser/'
  8. arch=('i686' 'x86_64')
  9. license=('custom:Public Domain')
  10. source=("https://github.com/mmozeiko/RcloneBrowser/archive/${pkgver}.tar.gz")
  11. sha256sums=('679c4cae5ede309e8ae8f67c482ecef0194fac5fabe9c1784fe4638c4d5bfdb6')
  12. makedepends=('cmake')
  13. depends=('qt5-base' 'rclone')
  14.  
  15. package() {
  16.  
  17.   cd "$srcdir"/RcloneBrowser-${pkgver}
  18.   sed -i "s/ -Werror//g" src/CMakeLists.txt
  19.   mkdir -p build && cd build
  20.   cmake .. -DCMAKE_INSTALL_PREFIX=${pkgdir}/usr -DCMAKE_BUILD_TYPE=Release
  21.   cmake --build . --target install
  22.  
  23.   install -Dm644 "$srcdir"/RcloneBrowser-${pkgver}/LICENSE \
  24.                 "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
  25. }
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
Top