Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: Stephanie Hobbs (RX14) <steph@rx14.co.uk>
- pkgname=rclonesync-git
- pkgver=3.0.r55
- pkgrel=1
- pkgdesc="A Bidirectional Cloud Sync Utility using rclone"
- arch=("any")
- url="https://github.com/cjnaz/rclonesync-V2"
- license=("MIT")
- depends=("python" "rclone")
- makedepends=("git")
- source=("rclonesync::git+${url}")
- sha256sums=('SKIP')
- pkgver() {
- cd rclonesync
- local project_version="$(python rclonesync -V | sed -E 's|^rclonesync V(.+) (.+)$|\1|')"
- printf "%s.r%s" "$project_version" "$(git rev-list --count HEAD)"
- }
- package() {
- cd rclonesync
- install -m 0755 -d "$pkgdir"/usr/bin
- install -m 0755 rclonesync "$pkgdir"/usr/bin/rclonesync
- }
Add Comment
Please, Sign In to add comment