# Template file for 'onedrive'
pkgname=onedrive
version=2.4.13
revision=1
build_style=gnu-configure
configure_args="DC=ldc2"
hostmakedepends="ldc pkg-config"
makedepends="libcurl-devel sqlite-devel libnotify-devel"
short_desc="OneDrive Client for Linux"
maintainer="selfisekai <laura@selfisekai.rocks>"
license="GPL-3.0-or-later"
homepage="https://github.com/abraunegg/onedrive"
changelog="https://raw.githubusercontent.com/abraunegg/onedrive/master/CHANGELOG.md"
distfiles="https://github.com/abraunegg/onedrive/archive/v${version}.tar.gz"
checksum=6cb903ec14be249caa13c04a4fbba9a431041c224e7d815798a94f7b93861263
nocross="uses host flags for cross compilations"

post_install() {
	vinstall config 644 usr/share/onedrive config.default
}

onedrive-d_package() {
	build_style=meta
	depends="${sourcepkg}"
	short_desc+=" (transitional dummy package)"
}
