desktop/kio-gdrive/PKGBUILD
2018-10-22 00:30:20 +02:00

34 lines
820 B
Bash

# Contribution from Arch:
# Maintainer: Antonio Rojas <arojas@archlinux.org>
pkgname=kio-gdrive
pkgver=1.2.5
pkgrel=1
arch=(x86_64)
pkgdesc="KIO Slave to access Google Drive"
url="https://projects.kde.org/kio-gdrive"
license=(GPL)
depends=(libkgapi kaccounts-providers)
makedepends=(extra-cmake-modules kdesignerplugin kdoctools python3 intltool)
source=(https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig})
md5sums=('a76361f09fa05a8641fb2fc8f7ce8e26'
'SKIP')
validpgpkeys=('F07D85CAA18ACF46A346FD017C7FC6EA8633B4EA') # Elvis Angelaccio <elvis.angelaccio@kde.org>
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../$pkgname-$pkgver \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package(){
cd build
make DESTDIR="$pkgdir" install
}