Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: Gordian Edenhofer <gordian.edenhofer@gmail.com>
- # Contributor: Tom Moore <tmoore01 at gmail dot com>
- # Contributer: Allen Choong <allencch at hotmail dot com>
- # Contributer: Andrea Scarpino <andrea@archlinux.org>
- # Contributer: Daniel YC Lin <dlin.tw at gmail>
- # Contributer: Jarek Sedlacek <JarekSedlacek@gmail>
- pkgname=grive-git
- pkgver=493.f039e38
- pkgrel=2
- pkgdesc='An open source Linux client for Google Drive with support for the new Drive REST API and partial sync'
- arch=('i686' 'x86_64')
- url='https://github.com/vitalif/grive2'
- license=('GPL2')
- depends=('yajl' 'curl' 'libgcrypt' 'boost-libs' 'gcc-libs' 'json-c' 'expat')
- optdepends=("inotify-tools: scheduled syncs and syncs on file change events"
- "cppunit: unit tests"
- "binutils: backtrace and libiberty")
- makedepends=('cmake' 'git' 'boost')
- provides=("grive=${pkgver}")
- conflicts=('grive')
- source=("${pkgname}"::"git+https://github.com/vitalif/grive2")
- sha512sums=('SKIP')
- pkgver() {
- cd "${srcdir}/${pkgname}"
- echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
- }
- build() {
- cd "${srcdir}/${pkgname}"
- rm -rf build
- mkdir build
- cd build
- cmake -DBoost_DIR=/usr/lib/cmake/Boost-1.71.0 \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_EXE_LINKER_FLAGS=-ljson-c ..
- make
- }
- package() {
- make -C "${srcdir}/${pkgname}/build" DESTDIR="${pkgdir}" install
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement