void-packages/srcpkgs/onedrive/template

27 lines
856 B
Bash

# Template file for 'onedrive'
pkgname=onedrive
version=2.4.6
revision=2
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/v${version}/CHANGELOG.md"
distfiles="https://github.com/abraunegg/onedrive/archive/v${version}.tar.gz"
checksum=2c8551de6a8df5145162ee20169acea03873d20bf3a3490c749985ce43143b08
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)"
}