void-packages/srcpkgs/onedrive/template

27 lines
852 B
Bash

# Template file for 'onedrive'
pkgname=onedrive
version=2.4.23
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=fb57b9683302a53958671d1c74eb9b8f89ac229055647adce093e8a49ad846e0
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)"
}